picos.solvers.solver_glpk

Implementation of GLPKSolver.

Outline

Classes

GLPKSolver

Interface to the GLPK solver via swiglpk.

Classes

GLPKSolver

class picos.solvers.solver_glpk.GLPKSolver(problem)[source]

Bases: picos.solvers.solver.Solver

Interface to the GLPK solver via swiglpk.

__init__(problem)[source]

Initialize a GLPK solver interface.

Parameters

problem (Problem) – The problem to be solved.

classmethod default_penalty()[source]

Implement default_penalty.

classmethod names()[source]

Implement names.

reset_problem()[source]

Implement reset_problem.

classmethod supports(footprint)[source]

Implement supports.

classmethod test_availability()[source]

Implement test_availability.

SUPPORTED = <Specification: Optimize AffineExpression subject to AffineConstraint using any variables and any options.>