Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.linearsolver.MPModelRequest.SolverType Enum Reference
Inheritance diagram for com.google.ortools.linearsolver.MPModelRequest.SolverType:

Public Member Functions

final int getNumber ()
 
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor ()
 
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType ()
 

Static Public Member Functions

static SolverType valueOf (int value)
 
static SolverType forNumber (int value)
 
static com.google.protobuf.Internal.EnumLiteMap< SolverTypeinternalGetValueMap ()
 
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor ()
 
static SolverType valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc)
 

Public Attributes

 CLP_LINEAR_PROGRAMMING =(0)
 
 GLOP_LINEAR_PROGRAMMING =(2)
 
 GLPK_LINEAR_PROGRAMMING =(1)
 
 GUROBI_LINEAR_PROGRAMMING =(6)
 
 XPRESS_LINEAR_PROGRAMMING =(101)
 
 CPLEX_LINEAR_PROGRAMMING =(10)
 
 HIGHS_LINEAR_PROGRAMMING =(15)
 
 SCIP_MIXED_INTEGER_PROGRAMMING =(3)
 
 GLPK_MIXED_INTEGER_PROGRAMMING =(4)
 
 CBC_MIXED_INTEGER_PROGRAMMING =(5)
 
 GUROBI_MIXED_INTEGER_PROGRAMMING =(7)
 
 XPRESS_MIXED_INTEGER_PROGRAMMING =(102)
 
 CPLEX_MIXED_INTEGER_PROGRAMMING =(11)
 
 HIGHS_MIXED_INTEGER_PROGRAMMING =(16)
 
 BOP_INTEGER_PROGRAMMING =(12)
 
 SAT_INTEGER_PROGRAMMING =(14)
 
 PDLP_LINEAR_PROGRAMMING =(8)
 
 KNAPSACK_MIXED_INTEGER_PROGRAMMING =(13)
 

Static Public Attributes

static final int CLP_LINEAR_PROGRAMMING_VALUE = 0
 
static final int GLOP_LINEAR_PROGRAMMING_VALUE = 2
 
static final int GLPK_LINEAR_PROGRAMMING_VALUE = 1
 
static final int GUROBI_LINEAR_PROGRAMMING_VALUE = 6
 
static final int XPRESS_LINEAR_PROGRAMMING_VALUE = 101
 
static final int CPLEX_LINEAR_PROGRAMMING_VALUE = 10
 
static final int HIGHS_LINEAR_PROGRAMMING_VALUE = 15
 
static final int SCIP_MIXED_INTEGER_PROGRAMMING_VALUE = 3
 
static final int GLPK_MIXED_INTEGER_PROGRAMMING_VALUE = 4
 
static final int CBC_MIXED_INTEGER_PROGRAMMING_VALUE = 5
 
static final int GUROBI_MIXED_INTEGER_PROGRAMMING_VALUE = 7
 
static final int XPRESS_MIXED_INTEGER_PROGRAMMING_VALUE = 102
 
static final int CPLEX_MIXED_INTEGER_PROGRAMMING_VALUE = 11
 
static final int HIGHS_MIXED_INTEGER_PROGRAMMING_VALUE = 16
 
static final int BOP_INTEGER_PROGRAMMING_VALUE = 12
 
static final int SAT_INTEGER_PROGRAMMING_VALUE = 14
 
static final int PDLP_LINEAR_PROGRAMMING_VALUE = 8
 
static final int KNAPSACK_MIXED_INTEGER_PROGRAMMING_VALUE = 13
 

Detailed Description

The solver type, which will select a specific implementation, and will also
impact the interpretation of the model (i.e. are we solving the problem
as a mixed integer program or are we relaxing it as a continuous linear
program?).
This must remain consistent with MPSolver::OptimizationProblemType.

Protobuf enum operations_research.MPModelRequest.SolverType

Definition at line 59 of file MPModelRequest.java.

Member Function Documentation

◆ forNumber()

static SolverType com.google.ortools.linearsolver.MPModelRequest.SolverType.forNumber ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.

Definition at line 317 of file MPModelRequest.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.linearsolver.MPModelRequest.SolverType.getDescriptor ( )
static

Definition at line 362 of file MPModelRequest.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.linearsolver.MPModelRequest.SolverType.getDescriptorForType ( )

Definition at line 358 of file MPModelRequest.java.

◆ getNumber()

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.getNumber ( )

Definition at line 299 of file MPModelRequest.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.linearsolver.MPModelRequest.SolverType.getValueDescriptor ( )

Definition at line 354 of file MPModelRequest.java.

◆ internalGetValueMap()

static com.google.protobuf.Internal.EnumLiteMap< SolverType > com.google.ortools.linearsolver.MPModelRequest.SolverType.internalGetValueMap ( )
static

Definition at line 342 of file MPModelRequest.java.

◆ valueOf() [1/2]

static SolverType com.google.ortools.linearsolver.MPModelRequest.SolverType.valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static

Definition at line 368 of file MPModelRequest.java.

◆ valueOf() [2/2]

static SolverType com.google.ortools.linearsolver.MPModelRequest.SolverType.valueOf ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.
Deprecated
Use forNumber(int) instead.

Definition at line 309 of file MPModelRequest.java.

Member Data Documentation

◆ BOP_INTEGER_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.BOP_INTEGER_PROGRAMMING =(12)

BOP_INTEGER_PROGRAMMING = 12;

Definition at line 152 of file MPModelRequest.java.

◆ BOP_INTEGER_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.BOP_INTEGER_PROGRAMMING_VALUE = 12
static

BOP_INTEGER_PROGRAMMING = 12;

Definition at line 271 of file MPModelRequest.java.

◆ CBC_MIXED_INTEGER_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.CBC_MIXED_INTEGER_PROGRAMMING =(5)

CBC_MIXED_INTEGER_PROGRAMMING = 5;

Definition at line 120 of file MPModelRequest.java.

◆ CBC_MIXED_INTEGER_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.CBC_MIXED_INTEGER_PROGRAMMING_VALUE = 5
static

CBC_MIXED_INTEGER_PROGRAMMING = 5;

Definition at line 239 of file MPModelRequest.java.

◆ CLP_LINEAR_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.CLP_LINEAR_PROGRAMMING =(0)

CLP_LINEAR_PROGRAMMING = 0;

Definition at line 64 of file MPModelRequest.java.

◆ CLP_LINEAR_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.CLP_LINEAR_PROGRAMMING_VALUE = 0
static

CLP_LINEAR_PROGRAMMING = 0;

Definition at line 183 of file MPModelRequest.java.

◆ CPLEX_LINEAR_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.CPLEX_LINEAR_PROGRAMMING =(10)
Commercial, needs a valid license. NOLINT

CPLEX_LINEAR_PROGRAMMING = 10;

Definition at line 100 of file MPModelRequest.java.

◆ CPLEX_LINEAR_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.CPLEX_LINEAR_PROGRAMMING_VALUE = 10
static
Commercial, needs a valid license. NOLINT

CPLEX_LINEAR_PROGRAMMING = 10;

Definition at line 219 of file MPModelRequest.java.

◆ CPLEX_MIXED_INTEGER_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.CPLEX_MIXED_INTEGER_PROGRAMMING =(11)
Commercial, needs a valid license. NOLINT

CPLEX_MIXED_INTEGER_PROGRAMMING = 11;

Definition at line 144 of file MPModelRequest.java.

◆ CPLEX_MIXED_INTEGER_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.CPLEX_MIXED_INTEGER_PROGRAMMING_VALUE = 11
static
Commercial, needs a valid license. NOLINT

CPLEX_MIXED_INTEGER_PROGRAMMING = 11;

Definition at line 263 of file MPModelRequest.java.

◆ GLOP_LINEAR_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.GLOP_LINEAR_PROGRAMMING =(2)
Recommended default for LP models.

GLOP_LINEAR_PROGRAMMING = 2;

Definition at line 72 of file MPModelRequest.java.

◆ GLOP_LINEAR_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.GLOP_LINEAR_PROGRAMMING_VALUE = 2
static
Recommended default for LP models.

GLOP_LINEAR_PROGRAMMING = 2;

Definition at line 191 of file MPModelRequest.java.

◆ GLPK_LINEAR_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.GLPK_LINEAR_PROGRAMMING =(1)

GLPK_LINEAR_PROGRAMMING = 1;

Definition at line 76 of file MPModelRequest.java.

◆ GLPK_LINEAR_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.GLPK_LINEAR_PROGRAMMING_VALUE = 1
static

GLPK_LINEAR_PROGRAMMING = 1;

Definition at line 195 of file MPModelRequest.java.

◆ GLPK_MIXED_INTEGER_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.GLPK_MIXED_INTEGER_PROGRAMMING =(4)

GLPK_MIXED_INTEGER_PROGRAMMING = 4;

Definition at line 116 of file MPModelRequest.java.

◆ GLPK_MIXED_INTEGER_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.GLPK_MIXED_INTEGER_PROGRAMMING_VALUE = 4
static

GLPK_MIXED_INTEGER_PROGRAMMING = 4;

Definition at line 235 of file MPModelRequest.java.

◆ GUROBI_LINEAR_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.GUROBI_LINEAR_PROGRAMMING =(6)
Commercial, needs a valid license.

GUROBI_LINEAR_PROGRAMMING = 6;

Definition at line 84 of file MPModelRequest.java.

◆ GUROBI_LINEAR_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.GUROBI_LINEAR_PROGRAMMING_VALUE = 6
static
Commercial, needs a valid license.

GUROBI_LINEAR_PROGRAMMING = 6;

Definition at line 203 of file MPModelRequest.java.

◆ GUROBI_MIXED_INTEGER_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.GUROBI_MIXED_INTEGER_PROGRAMMING =(7)
Commercial, needs a valid license.

GUROBI_MIXED_INTEGER_PROGRAMMING = 7;

Definition at line 128 of file MPModelRequest.java.

◆ GUROBI_MIXED_INTEGER_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.GUROBI_MIXED_INTEGER_PROGRAMMING_VALUE = 7
static
Commercial, needs a valid license.

GUROBI_MIXED_INTEGER_PROGRAMMING = 7;

Definition at line 247 of file MPModelRequest.java.

◆ HIGHS_LINEAR_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.HIGHS_LINEAR_PROGRAMMING =(15)

HIGHS_LINEAR_PROGRAMMING = 15;

Definition at line 104 of file MPModelRequest.java.

◆ HIGHS_LINEAR_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.HIGHS_LINEAR_PROGRAMMING_VALUE = 15
static

HIGHS_LINEAR_PROGRAMMING = 15;

Definition at line 223 of file MPModelRequest.java.

◆ HIGHS_MIXED_INTEGER_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.HIGHS_MIXED_INTEGER_PROGRAMMING =(16)

HIGHS_MIXED_INTEGER_PROGRAMMING = 16;

Definition at line 148 of file MPModelRequest.java.

◆ HIGHS_MIXED_INTEGER_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.HIGHS_MIXED_INTEGER_PROGRAMMING_VALUE = 16
static

HIGHS_MIXED_INTEGER_PROGRAMMING = 16;

Definition at line 267 of file MPModelRequest.java.

◆ KNAPSACK_MIXED_INTEGER_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.KNAPSACK_MIXED_INTEGER_PROGRAMMING =(13)

KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13;

Definition at line 177 of file MPModelRequest.java.

◆ KNAPSACK_MIXED_INTEGER_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.KNAPSACK_MIXED_INTEGER_PROGRAMMING_VALUE = 13
static

KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13;

Definition at line 296 of file MPModelRequest.java.

◆ PDLP_LINEAR_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.PDLP_LINEAR_PROGRAMMING =(8)
In-house linear programming solver based on the primal-dual hybrid
gradient method. Sometimes faster than Glop for medium-size problems and
scales to much larger problems than Glop.

PDLP_LINEAR_PROGRAMMING = 8;

Definition at line 173 of file MPModelRequest.java.

◆ PDLP_LINEAR_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.PDLP_LINEAR_PROGRAMMING_VALUE = 8
static
In-house linear programming solver based on the primal-dual hybrid
gradient method. Sometimes faster than Glop for medium-size problems and
scales to much larger problems than Glop.

PDLP_LINEAR_PROGRAMMING = 8;

Definition at line 292 of file MPModelRequest.java.

◆ SAT_INTEGER_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.SAT_INTEGER_PROGRAMMING =(14)
WARNING: This solver will currently interpret all variables as integer,
so any solution you get will be valid, but the optimal might be far away
for the real one (when you authorise non-integer value for continuous
variables).

SAT_INTEGER_PROGRAMMING = 14;

Definition at line 163 of file MPModelRequest.java.

◆ SAT_INTEGER_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.SAT_INTEGER_PROGRAMMING_VALUE = 14
static
WARNING: This solver will currently interpret all variables as integer,
so any solution you get will be valid, but the optimal might be far away
for the real one (when you authorise non-integer value for continuous
variables).

SAT_INTEGER_PROGRAMMING = 14;

Definition at line 282 of file MPModelRequest.java.

◆ SCIP_MIXED_INTEGER_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.SCIP_MIXED_INTEGER_PROGRAMMING =(3)
Recommended default for MIP models.

SCIP_MIXED_INTEGER_PROGRAMMING = 3;

Definition at line 112 of file MPModelRequest.java.

◆ SCIP_MIXED_INTEGER_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.SCIP_MIXED_INTEGER_PROGRAMMING_VALUE = 3
static
Recommended default for MIP models.

SCIP_MIXED_INTEGER_PROGRAMMING = 3;

Definition at line 231 of file MPModelRequest.java.

◆ XPRESS_LINEAR_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.XPRESS_LINEAR_PROGRAMMING =(101)
Commercial, needs a valid license. NOLINT

XPRESS_LINEAR_PROGRAMMING = 101;

Definition at line 92 of file MPModelRequest.java.

◆ XPRESS_LINEAR_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.XPRESS_LINEAR_PROGRAMMING_VALUE = 101
static
Commercial, needs a valid license. NOLINT

XPRESS_LINEAR_PROGRAMMING = 101;

Definition at line 211 of file MPModelRequest.java.

◆ XPRESS_MIXED_INTEGER_PROGRAMMING

com.google.ortools.linearsolver.MPModelRequest.SolverType.XPRESS_MIXED_INTEGER_PROGRAMMING =(102)
Commercial, needs a valid license. NOLINT

XPRESS_MIXED_INTEGER_PROGRAMMING = 102;

Definition at line 136 of file MPModelRequest.java.

◆ XPRESS_MIXED_INTEGER_PROGRAMMING_VALUE

final int com.google.ortools.linearsolver.MPModelRequest.SolverType.XPRESS_MIXED_INTEGER_PROGRAMMING_VALUE = 102
static
Commercial, needs a valid license. NOLINT

XPRESS_MIXED_INTEGER_PROGRAMMING = 102;

Definition at line 255 of file MPModelRequest.java.


The documentation for this enum was generated from the following file: