Java Reference

Java Reference

MPModelRequest.SolverType Enum Reference

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

Public Member Functions

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

Static Public Member Functions

.lang.Deprecated 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

 GLOP_LINEAR_PROGRAMMING =(2)
 
 CLP_LINEAR_PROGRAMMING =(0)
 CLP_LINEAR_PROGRAMMING = 0; More...
 
 GLPK_LINEAR_PROGRAMMING =(1)
 GLPK_LINEAR_PROGRAMMING = 1; More...
 
 GUROBI_LINEAR_PROGRAMMING =(6)
 
 XPRESS_LINEAR_PROGRAMMING =(101)
 
 CPLEX_LINEAR_PROGRAMMING =(10)
 
 SCIP_MIXED_INTEGER_PROGRAMMING =(3)
 
 GLPK_MIXED_INTEGER_PROGRAMMING =(4)
 GLPK_MIXED_INTEGER_PROGRAMMING = 4; More...
 
 CBC_MIXED_INTEGER_PROGRAMMING =(5)
 CBC_MIXED_INTEGER_PROGRAMMING = 5; More...
 
 GUROBI_MIXED_INTEGER_PROGRAMMING =(7)
 
 XPRESS_MIXED_INTEGER_PROGRAMMING =(102)
 
 CPLEX_MIXED_INTEGER_PROGRAMMING =(11)
 
 BOP_INTEGER_PROGRAMMING =(12)
 BOP_INTEGER_PROGRAMMING = 12; More...
 
 SAT_INTEGER_PROGRAMMING =(14)
 
 KNAPSACK_MIXED_INTEGER_PROGRAMMING =(13)
 KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13; More...
 

Static Public Attributes

static final int GLOP_LINEAR_PROGRAMMING_VALUE = 2
 
static final int CLP_LINEAR_PROGRAMMING_VALUE = 0
 CLP_LINEAR_PROGRAMMING = 0; More...
 
static final int GLPK_LINEAR_PROGRAMMING_VALUE = 1
 GLPK_LINEAR_PROGRAMMING = 1; More...
 
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 SCIP_MIXED_INTEGER_PROGRAMMING_VALUE = 3
 
static final int GLPK_MIXED_INTEGER_PROGRAMMING_VALUE = 4
 GLPK_MIXED_INTEGER_PROGRAMMING = 4; More...
 
static final int CBC_MIXED_INTEGER_PROGRAMMING_VALUE = 5
 CBC_MIXED_INTEGER_PROGRAMMING = 5; More...
 
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 BOP_INTEGER_PROGRAMMING_VALUE = 12
 BOP_INTEGER_PROGRAMMING = 12; More...
 
static final int SAT_INTEGER_PROGRAMMING_VALUE = 14
 
static final int KNAPSACK_MIXED_INTEGER_PROGRAMMING_VALUE = 13
 KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13; More...
 

Member Function Documentation

◆ forNumber()

static SolverType forNumber ( int  value)
inlinestatic
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.

Definition at line 377 of file MPModelRequest.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor ( )
inlinestatic

Definition at line 419 of file MPModelRequest.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType ( )
inline

Definition at line 415 of file MPModelRequest.java.

◆ getNumber()

final int getNumber ( )
inline

Definition at line 359 of file MPModelRequest.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor ( )
inline

Definition at line 411 of file MPModelRequest.java.

◆ internalGetValueMap()

static com.google.protobuf.Internal.EnumLiteMap<SolverType> internalGetValueMap ( )
inlinestatic

Definition at line 399 of file MPModelRequest.java.

◆ valueOf() [1/2]

static SolverType valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor  desc)
inlinestatic

Definition at line 425 of file MPModelRequest.java.

◆ valueOf() [2/2]

.lang.Deprecated static SolverType valueOf ( int  value)
inlinestatic
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 369 of file MPModelRequest.java.

Member Data Documentation

◆ BOP_INTEGER_PROGRAMMING

BOP_INTEGER_PROGRAMMING =(12)

BOP_INTEGER_PROGRAMMING = 12;

Definition at line 240 of file MPModelRequest.java.

◆ BOP_INTEGER_PROGRAMMING_VALUE

final int BOP_INTEGER_PROGRAMMING_VALUE = 12
static

BOP_INTEGER_PROGRAMMING = 12;

Definition at line 341 of file MPModelRequest.java.

◆ CBC_MIXED_INTEGER_PROGRAMMING

CBC_MIXED_INTEGER_PROGRAMMING =(5)

CBC_MIXED_INTEGER_PROGRAMMING = 5;

Definition at line 212 of file MPModelRequest.java.

◆ CBC_MIXED_INTEGER_PROGRAMMING_VALUE

final int CBC_MIXED_INTEGER_PROGRAMMING_VALUE = 5
static

CBC_MIXED_INTEGER_PROGRAMMING = 5;

Definition at line 313 of file MPModelRequest.java.

◆ CLP_LINEAR_PROGRAMMING

CLP_LINEAR_PROGRAMMING =(0)

CLP_LINEAR_PROGRAMMING = 0;

Definition at line 168 of file MPModelRequest.java.

◆ CLP_LINEAR_PROGRAMMING_VALUE

final int CLP_LINEAR_PROGRAMMING_VALUE = 0
static

CLP_LINEAR_PROGRAMMING = 0;

Definition at line 269 of file MPModelRequest.java.

◆ CPLEX_LINEAR_PROGRAMMING

CPLEX_LINEAR_PROGRAMMING =(10)
Commercial, needs a valid license. NOLINT

CPLEX_LINEAR_PROGRAMMING = 10;

Definition at line 196 of file MPModelRequest.java.

◆ CPLEX_LINEAR_PROGRAMMING_VALUE

final int CPLEX_LINEAR_PROGRAMMING_VALUE = 10
static
Commercial, needs a valid license. NOLINT

CPLEX_LINEAR_PROGRAMMING = 10;

Definition at line 297 of file MPModelRequest.java.

◆ CPLEX_MIXED_INTEGER_PROGRAMMING

CPLEX_MIXED_INTEGER_PROGRAMMING =(11)
Commercial, needs a valid license. NOLINT

CPLEX_MIXED_INTEGER_PROGRAMMING = 11;

Definition at line 236 of file MPModelRequest.java.

◆ CPLEX_MIXED_INTEGER_PROGRAMMING_VALUE

final int CPLEX_MIXED_INTEGER_PROGRAMMING_VALUE = 11
static
Commercial, needs a valid license. NOLINT

CPLEX_MIXED_INTEGER_PROGRAMMING = 11;

Definition at line 337 of file MPModelRequest.java.

◆ GLOP_LINEAR_PROGRAMMING

GLOP_LINEAR_PROGRAMMING =(2)
Recommended default for LP models.

GLOP_LINEAR_PROGRAMMING = 2;

Definition at line 164 of file MPModelRequest.java.

◆ GLOP_LINEAR_PROGRAMMING_VALUE

final int GLOP_LINEAR_PROGRAMMING_VALUE = 2
static
Recommended default for LP models.

GLOP_LINEAR_PROGRAMMING = 2;

Definition at line 265 of file MPModelRequest.java.

◆ GLPK_LINEAR_PROGRAMMING

GLPK_LINEAR_PROGRAMMING =(1)

GLPK_LINEAR_PROGRAMMING = 1;

Definition at line 172 of file MPModelRequest.java.

◆ GLPK_LINEAR_PROGRAMMING_VALUE

final int GLPK_LINEAR_PROGRAMMING_VALUE = 1
static

GLPK_LINEAR_PROGRAMMING = 1;

Definition at line 273 of file MPModelRequest.java.

◆ GLPK_MIXED_INTEGER_PROGRAMMING

GLPK_MIXED_INTEGER_PROGRAMMING =(4)

GLPK_MIXED_INTEGER_PROGRAMMING = 4;

Definition at line 208 of file MPModelRequest.java.

◆ GLPK_MIXED_INTEGER_PROGRAMMING_VALUE

final int GLPK_MIXED_INTEGER_PROGRAMMING_VALUE = 4
static

GLPK_MIXED_INTEGER_PROGRAMMING = 4;

Definition at line 309 of file MPModelRequest.java.

◆ GUROBI_LINEAR_PROGRAMMING

GUROBI_LINEAR_PROGRAMMING =(6)
Commercial, needs a valid license.

GUROBI_LINEAR_PROGRAMMING = 6;

Definition at line 180 of file MPModelRequest.java.

◆ GUROBI_LINEAR_PROGRAMMING_VALUE

final int GUROBI_LINEAR_PROGRAMMING_VALUE = 6
static
Commercial, needs a valid license.

GUROBI_LINEAR_PROGRAMMING = 6;

Definition at line 281 of file MPModelRequest.java.

◆ GUROBI_MIXED_INTEGER_PROGRAMMING

GUROBI_MIXED_INTEGER_PROGRAMMING =(7)
Commercial, needs a valid license.

GUROBI_MIXED_INTEGER_PROGRAMMING = 7;

Definition at line 220 of file MPModelRequest.java.

◆ GUROBI_MIXED_INTEGER_PROGRAMMING_VALUE

final int GUROBI_MIXED_INTEGER_PROGRAMMING_VALUE = 7
static
Commercial, needs a valid license.

GUROBI_MIXED_INTEGER_PROGRAMMING = 7;

Definition at line 321 of file MPModelRequest.java.

◆ KNAPSACK_MIXED_INTEGER_PROGRAMMING

KNAPSACK_MIXED_INTEGER_PROGRAMMING =(13)

KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13;

Definition at line 255 of file MPModelRequest.java.

◆ KNAPSACK_MIXED_INTEGER_PROGRAMMING_VALUE

final int KNAPSACK_MIXED_INTEGER_PROGRAMMING_VALUE = 13
static

KNAPSACK_MIXED_INTEGER_PROGRAMMING = 13;

Definition at line 356 of file MPModelRequest.java.

◆ SAT_INTEGER_PROGRAMMING

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

◆ SAT_INTEGER_PROGRAMMING_VALUE

final int 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 352 of file MPModelRequest.java.

◆ SCIP_MIXED_INTEGER_PROGRAMMING

SCIP_MIXED_INTEGER_PROGRAMMING =(3)
Recommended default for MIP models.

SCIP_MIXED_INTEGER_PROGRAMMING = 3;

Definition at line 204 of file MPModelRequest.java.

◆ SCIP_MIXED_INTEGER_PROGRAMMING_VALUE

final int SCIP_MIXED_INTEGER_PROGRAMMING_VALUE = 3
static
Recommended default for MIP models.

SCIP_MIXED_INTEGER_PROGRAMMING = 3;

Definition at line 305 of file MPModelRequest.java.

◆ XPRESS_LINEAR_PROGRAMMING

XPRESS_LINEAR_PROGRAMMING =(101)
Commercial, needs a valid license. NOLINT

XPRESS_LINEAR_PROGRAMMING = 101;

Definition at line 188 of file MPModelRequest.java.

◆ XPRESS_LINEAR_PROGRAMMING_VALUE

final int XPRESS_LINEAR_PROGRAMMING_VALUE = 101
static
Commercial, needs a valid license. NOLINT

XPRESS_LINEAR_PROGRAMMING = 101;

Definition at line 289 of file MPModelRequest.java.

◆ XPRESS_MIXED_INTEGER_PROGRAMMING

XPRESS_MIXED_INTEGER_PROGRAMMING =(102)
Commercial, needs a valid license. NOLINT

XPRESS_MIXED_INTEGER_PROGRAMMING = 102;

Definition at line 228 of file MPModelRequest.java.

◆ XPRESS_MIXED_INTEGER_PROGRAMMING_VALUE

final int XPRESS_MIXED_INTEGER_PROGRAMMING_VALUE = 102
static
Commercial, needs a valid license. NOLINT

XPRESS_MIXED_INTEGER_PROGRAMMING = 102;

Definition at line 329 of file MPModelRequest.java.


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