| Package | Description |
|---|---|
| com.google.ortools.linearsolver |
| Modifier and Type | Method and Description |
|---|---|
MPSolver.OptimizationProblemType |
MPSolver.problemType()
Returns the optimization problem type set at construction.
|
static MPSolver.OptimizationProblemType |
MPSolver.OptimizationProblemType.swigToEnum(int swigValue) |
static MPSolver.OptimizationProblemType |
MPSolver.OptimizationProblemType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MPSolver.OptimizationProblemType[] |
MPSolver.OptimizationProblemType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MPSolver.supportsProblemType(MPSolver.OptimizationProblemType problem_type)
Whether the given problem type is supported (this will depend on the
targets that you linked). |
| Constructor and Description |
|---|
MPSolver(java.lang.String name,
MPSolver.OptimizationProblemType problem_type)
Create a solver with the given name and underlying solver backend.
|
Copyright © 2024. All rights reserved.