Google OR-Tools v9.14
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 initializer]
static SolverType valueOf (int value)
static SolverType forNumber (int value)
static com.google.protobuf.Internal.EnumLiteMap< SolverTypeinternalGetValueMap ()
static 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 63 of file MPModelRequest.java.

Member Function Documentation

◆ [static initializer]()

com.google.ortools.linearsolver.MPModelRequest.SolverType.[static initializer]
static

◆ forNumber()

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 330 of file MPModelRequest.java.

◆ getDescriptor()

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

Definition at line 375 of file MPModelRequest.java.

◆ getDescriptorForType()

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

Definition at line 371 of file MPModelRequest.java.

◆ getNumber()

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

Definition at line 312 of file MPModelRequest.java.

◆ getValueDescriptor()

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

Definition at line 367 of file MPModelRequest.java.

◆ internalGetValueMap()

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

Definition at line 355 of file MPModelRequest.java.

◆ valueOf() [1/2]

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

Definition at line 381 of file MPModelRequest.java.

◆ valueOf() [2/2]

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 322 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 156 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 284 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 124 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 252 of file MPModelRequest.java.

◆ CLP_LINEAR_PROGRAMMING

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

CLP_LINEAR_PROGRAMMING = 0;

Definition at line 68 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 196 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 104 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 232 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 148 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 276 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 76 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 204 of file MPModelRequest.java.

◆ GLPK_LINEAR_PROGRAMMING

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

GLPK_LINEAR_PROGRAMMING = 1;

Definition at line 80 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 208 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 120 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 248 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 88 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 216 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 132 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 260 of file MPModelRequest.java.

◆ HIGHS_LINEAR_PROGRAMMING

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

HIGHS_LINEAR_PROGRAMMING = 15;

Definition at line 108 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 236 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 152 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 280 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 181 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 309 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 177 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 305 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 167 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 295 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 116 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 244 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 96 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 224 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 140 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 268 of file MPModelRequest.java.


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