ECOS-class: An interface for the ECOS solver

ECOS-classR Documentation

An interface for the ECOS solver

Description

An interface for the ECOS solver

Usage

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)

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.


CVXR documentation built on June 27, 2024, 5:11 p.m.