ECOS-class | R Documentation |
An interface for the ECOS solver
ECOS() ## S4 method for signature 'ECOS' mip_capable(solver) ## S4 method for signature 'ECOS' status_map(solver, status) ## S4 method for signature 'ECOS' import_solver(solver) ## S4 method for signature 'ECOS' name(x) ## S4 method for signature 'ECOS,Problem' perform(object, problem) ## S4 method for signature 'ECOS,list,list' invert(object, solution, inverse_data)
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.