Learn R Programming

CVXR (version 1.0)

GLPK-class: An interface for the GLPK solver.

Description

An interface for the GLPK solver.

Usage

GLPK()

# S4 method for GLPK mip_capable(solver)

# S4 method for GLPK status_map(solver, status)

# S4 method for GLPK name(x)

# S4 method for GLPK import_solver(solver)

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

# S4 method for GLPK solve_via_data( object, data, warm_start, verbose, feastol, reltol, abstol, num_iter, solver_opts, solver_cache = list() )

Arguments

solver, object, x

A '>GLPK object.

status

A status code returned by the solver.

solution

The raw solution returned by the solver.

inverse_data

A list containing data necessary for the inversion.

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.

Methods (by generic)

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

  • status_map: Converts status returned by the GLPK solver to its respective CVXPY status.

  • name: Returns the name of the solver.

  • import_solver: Imports the solver.

  • invert: Returns the solution to the original problem given the inverse_data.

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