picos.solvers

Optimization solver interfaces.

This package contains the interfaces to the optimization solvers that PICOS uses as its backend. You do not need to instanciate any of the solver classes directly; if you want to select a particular solver, it is most convenient to name it to solve via the solver keyword argument.

Exceptions

exception picos.solvers.ConflictingOptionsError[source]

See picos.solvers.solver.ConflictingOptionsError.

exception picos.solvers.DependentOptionError[source]

See picos.solvers.solver.DependentOptionError.

exception picos.solvers.OptionError[source]

See picos.solvers.solver.OptionError.

exception picos.solvers.OptionValueError[source]

See picos.solvers.solver.OptionValueError.

exception picos.solvers.ProblemUpdateError[source]

See picos.solvers.solver.ProblemUpdateError.

exception picos.solvers.SolverError[source]

See picos.solvers.solver.SolverError.

exception picos.solvers.UnsupportedOptionError[source]

See picos.solvers.solver.UnsupportedOptionError.

Classes

class picos.solvers.CPLEXSolver[source]

See picos.solvers.solver_cplex.CPLEXSolver.

class picos.solvers.CVXOPTSolver[source]

See picos.solvers.solver_cvxopt.CVXOPTSolver.

class picos.solvers.ECOSSolver[source]

See picos.solvers.solver_ecos.ECOSSolver.

class picos.solvers.GLPKSolver[source]

See picos.solvers.solver_glpk.GLPKSolver.

class picos.solvers.GurobiSolver[source]

See picos.solvers.solver_gurobi.GurobiSolver.

class picos.solvers.MOSEKFusionSolver[source]

See picos.solvers.solver_mskfsn.MOSEKFusionSolver.

class picos.solvers.MOSEKSolver[source]

See picos.solvers.solver_mosek.MOSEKSolver.

class picos.solvers.SCIPSolver[source]

See picos.solvers.solver_scip.SCIPSolver.

class picos.solvers.SMCPSolver[source]

See picos.solvers.solver_smcp.SMCPSolver.

class picos.solvers.Solver[source]

See picos.solvers.solver.Solver.

Functions

picos.solvers.all_solvers()[source]

Return a dictionary mapping solver names to implementation classes.

picos.solvers.available_solvers(problem=None)[source]

Return a sorted list of names of available solvers.

Parameters

problem – DEPRECATED

picos.solvers.get_solver(name)[source]

Return the implementation class of the solver with the given name.

picos.solvers.get_solver_name(solver)[source]

Return the registry name of a solver instance.