An interface for the ECOS solver

ECOS()

# S4 method for ECOS
mip_capable(solver)

# S4 method for ECOS
status_map(solver, status)

# S4 method for ECOS
import_solver(solver)

# S4 method for ECOS
name(x)

# S4 method for ECOS,Problem
perform(object, problem)

# S4 method for ECOS,list,list
invert(object, solution, inverse_data)

Arguments

solver, object, x

A ECOS object.

status

A status code returned by the solver.

problem

A Problem object.

solution

The raw solution returned by the solver.

inverse_data

A list containing data necessary for the inversion.

Methods (by generic)

  • mip_capable(ECOS): Can the solver handle mixed-integer programs?

  • status_map(ECOS): Converts status returned by the ECOS solver to its respective CVXPY status.

  • import_solver(ECOS): Imports the solver

  • name(ECOS): Returns the name of the solver

  • perform(object = ECOS, problem = Problem): Returns a new problem and data for inverting the new solution.

  • invert(object = ECOS, solution = list, inverse_data = list): Returns the solution to the original problem given the inverse_data.