This file contains the solver classes for PuLP Note that the solvers that require a compiled extension may not work in the current version
Bases: pulp.solvers.LpSolver
The COIN_MP LP MIP solver (via a DLL or linux so)
| Parameters: |
|
|---|
Solve a well formulated lp problem
True if the solver is available
function that loads the DLL useful for debugging installation problems
Bases: pulp.solvers.LpSolver_CMD
The COIN CLP/CBC LP solver now only uses cbc
Solve a well formulated lp problem
True if the solver is available
Make a copy of self
Read a CBC solution file
Solve a MIP problem using CBC
Bases: pulp.solvers.LpSolver_CMD
The CPLEX LP solver
Solve a well formulated lp problem
True if the solver is available
Read a CPLEX solution file
Bases: pulp.solvers.LpSolver
The CPLEX LP/MIP solver PHANTOM Something went wrong!!!!
Solve a well formulated lp problem
True if the solver is available
function that loads the DLL useful for debugging installation problems
Bases: pulp.solvers.LpSolver_CMD
The GLPK LP solver
Solve a well formulated lp problem
True if the solver is available
Read a GLPK solution file
Bases: pulp.solvers.LpSolver
The Gurobi LP/MIP solver (via its python interface)
The Gurobi variables are available (after a solve) in var.solverVar Constriaints in constraint.solverConstraint and the Model is in prob.solverModel
Initializes the Gurobi solver.
@param mip: if False the solver will solve a MIP as an LP @param msg: displays information from the solver to stdout @param timeLimit: sets the maximum time for solution @param epgap: sets the integer bound gap
Solve a well formulated lp problem
uses the old solver and modifies the rhs of the modified constraints
Solve a well formulated lp problem
creates a gurobi model, variables and constraints and attaches them to the lp model which it then solves
True if the solver is available
Takes the pulp lp model and translates it into a gurobi model
Solves the problem with gurobi
A generic LP Solver
uses existing problem information and solves the problem If it is not implelemented in the solver just solve again
Solve a well formulated lp problem
True if the solver is available
Make a copy of self
returns the arrays suitable to pass to a cdll Cplex or other solvers that are similar
Copyright (c) Stuart Mitchell 2007
Solve the problem lp
Bases: pulp.solvers.LpSolver
A generic command line LP Solver
Make a copy of self
Checks that the solver command is executable, And returns the actual path to it.
Set the tmpDir attribute to a reasonnable location for a temporary directory
Bases: pulp.solvers.COIN_CMD
This solver uses a precompiled version of cbc provided with the package
Solve a well formulated lp problem
True if the solver is available
Bases: pulp.solvers.LpSolver
The glpk LP/MIP solver (via its python interface)
The glpk variables are available (after a solve) in var.solverVar The glpk constraints are available in constraint.solverConstraint The Model is in prob.solverModel
Solve a well formulated lp problem
True if the solver is available
Bases: exceptions.Exception
Pulp Solver-related exceptions
Bases: pulp.solvers.LpSolver_CMD
The XPRESS LP solver
Solve a well formulated lp problem
True if the solver is available
Read an XPRESS solution file
Bases: pulp.solvers.LpSolver
COIN OSI (via its python interface)
The yaposib variables are available (after a solve) in var.solverVar The yaposib constraints are available in constraint.solverConstraint The Model is in prob.solverModel
Solve a well formulated lp problem
True if the solver is available
Creates a c array with ctypes from a python list type is the type of the c array
reads the configuration file to initialise the module
