picos.solvers.solver_ecos

Implementation of ECOSSolver.

Outline

Classes

ECOSSolver

Interface to the ECOS solver via its official Python interface.

Classes

ECOSSolver

class picos.solvers.solver_ecos.ECOSSolver(problem)[source]

Bases: picos.solvers.solver.Solver

Interface to the ECOS solver via its official Python interface.

__init__(problem)[source]

Initialize an ECOS solver interface.

Parameters

problem (Problem) – The problem to be solved.

classmethod default_penalty()[source]

Implement default_penalty.

classmethod names()[source]

Implement names.

reset_problem()[source]

Implement reset_problem.

stack(*args)[source]

Stack vectors or matrices, the latter vertically.

classmethod supports(footprint)[source]

Implement supports.

classmethod test_availability()[source]

Implement test_availability.

zeros(shape)[source]

Create a zero array or a zero matrix, depending on shape.

SUPPORTED = <Specification: Optimize AffineExpression subject to AffineConstraint, SOCConstraint, RSOCConstraint, ExpConeConstraint using any variables and any options.>
property array

ECOS’ array type.

property ecos

Return the ECOS core module ecos.py.

The module is obtained by import ecos up to ECOS 2.0.6 and by import ecos.ecos starting with ECOS 2.0.7.

property matrix

ECOS’ matrix type.