Learn R Programming

CVXR (version 0.99-7)

ECOS_BB-class: The ECOS_BB class.

Description

This class is an interface for the ECOS BB (branch-and-bound) solver.

Usage

ECOS_BB()

# S4 method for ECOS_BB lp_capable(solver)

# S4 method for ECOS_BB socp_capable(solver)

# S4 method for ECOS_BB sdp_capable(solver)

# S4 method for ECOS_BB exp_capable(solver)

# S4 method for ECOS_BB mip_capable(solver)

# S4 method for ECOS_BB name(object)

# S4 method for ECOS_BB Solver.solve(solver, objective, constraints, cached_data, warm_start, verbose, ...)

Arguments

object, solver

A '>ECOS_BB object.

objective

A list representing the canonicalized objective.

constraints

A list of canonicalized constraints.

cached_data

A list mapping solver name to cached problem data.

warm_start

A logical value indicating whether the previous solver result should be used to warm start.

verbose

A logical value indicating whether to print solver output.

...

Additional arguments to the solver.

Methods (by generic)

  • lp_capable: ECOS_BB can handle linear programs.

  • socp_capable: ECOS_BB can handle second-order cone programs.

  • sdp_capable: ECOS_BB cannot handle semidefinite programs.

  • exp_capable: ECOS_BB cannot handle exponential cone programs.

  • mip_capable: ECOS_BB can handle mixed-integer programs.

  • name: The name of the solver.

  • Solver.solve: Call the solver on the canonicalized problem.

References

A. Domahidi, E. Chu, and S. Boyd. "ECOS: An SOCP solver for Embedded Systems." Proceedings of the European Control Conference, pp. 3071-3076, 2013.

See Also

ECOS_csolve and the ECOS Official Repository.

Examples

Run this code
# NOT RUN {
ecos_bb <- ECOS_BB()
lp_capable(ecos_bb)
sdp_capable(ecos_bb)
socp_capable(ecos_bb)
exp_capable(ecos_bb)
mip_capable(ecos_bb)
# }

Run the code above in your browser using DataLab