GUROBI_QP-class: An interface for the GUROBI_QP solver.

GUROBI_QP-classR Documentation

An interface for the GUROBI_QP solver.

Description

An interface for the GUROBI_QP solver.

Usage

GUROBI_QP()

## S4 method for signature 'GUROBI_QP'
mip_capable(solver)

## S4 method for signature 'GUROBI_QP'
status_map(solver, status)

## S4 method for signature 'GUROBI_QP'
name(x)

## S4 method for signature 'GUROBI_QP'
import_solver(solver)

## S4 method for signature 'GUROBI_QP'
solve_via_data(
  object,
  data,
  warm_start,
  verbose,
  feastol,
  reltol,
  abstol,
  num_iter,
  solver_opts,
  solver_cache
)

## S4 method for signature 'GUROBI_QP,list,InverseData'
invert(object, solution, inverse_data)

Arguments

solver, object, x

A GUROBI_QP object.

status

A status code returned by the solver.

data

Data generated via an apply call.

warm_start

A boolean of whether to warm start the solver.

verbose

A boolean of whether to enable solver verbosity.

feastol

The feasible tolerance.

reltol

The relative tolerance.

abstol

The absolute tolerance.

num_iter

The maximum number of iterations.

solver_opts

A list of Solver specific options

solver_cache

Cache for the solver.

solution

The raw solution returned by the solver.

inverse_data

A InverseData object containing data necessary for the inversion.

Methods (by generic)

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

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

  • name(GUROBI_QP): Returns the name of the solver.

  • import_solver(GUROBI_QP): Imports the solver.

  • solve_via_data(GUROBI_QP): Solve a problem represented by data returned from apply.

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


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