Definition at line 11 of file main.java.
◆ areAllBooleans()
static boolean com.google.ortools.constraintsolver.main.areAllBooleans |
( |
IntVar[] | vars | ) |
|
|
static |
◆ areAllBound()
static boolean com.google.ortools.constraintsolver.main.areAllBound |
( |
IntVar[] | vars | ) |
|
|
static |
◆ areAllBoundTo()
static boolean com.google.ortools.constraintsolver.main.areAllBoundTo |
( |
IntVar[] | vars, |
|
|
long | value ) |
|
static |
Returns true if all variables are assigned to 'value'.
Definition at line 56 of file main.java.
◆ CpRandomSeed()
static long com.google.ortools.constraintsolver.main.CpRandomSeed |
( |
| ) |
|
|
static |
◆ defaultRoutingModelParameters()
◆ defaultRoutingSearchParameters()
◆ findErrorInRoutingSearchParameters()
Returns an empty std::string if the routing search parameters are valid, and
a non-empty, human readable error description if they're not.
Definition at line 106 of file main.java.
◆ maxVarArray()
static long com.google.ortools.constraintsolver.main.maxVarArray |
( |
IntVar[] | vars | ) |
|
|
static |
◆ minVarArray()
static long com.google.ortools.constraintsolver.main.minVarArray |
( |
IntVar[] | vars | ) |
|
|
static |
◆ One()
static long com.google.ortools.constraintsolver.main.One |
( |
| ) |
|
|
static |
This method returns 1
Definition at line 29 of file main.java.
◆ posIntDivDown()
static long com.google.ortools.constraintsolver.main.posIntDivDown |
( |
long | e, |
|
|
long | v ) |
|
static |
◆ posIntDivUp()
static long com.google.ortools.constraintsolver.main.posIntDivUp |
( |
long | e, |
|
|
long | v ) |
|
static |
◆ setAssignmentFromAssignment()
static void com.google.ortools.constraintsolver.main.setAssignmentFromAssignment |
( |
Assignment | target_assignment, |
|
|
IntVar[] | target_vars, |
|
|
Assignment | source_assignment, |
|
|
IntVar[] | source_vars ) |
|
static |
NOLINT
Given a "source_assignment", clears the "target_assignment" and adds
all IntVars in "target_vars", with the values of the variables set according
to the corresponding values of "source_vars" in "source_assignment".
source_vars and target_vars must have the same number of elements.
The source and target assignments can belong to different Solvers.
Definition at line 41 of file main.java.
◆ SolveModelWithSat()
Attempts to solve the model using the cp-sat solver. As of 5/2019, will
solve the TSP corresponding to the model if it has a single vehicle.
Therefore the resulting solution might not actually be feasible. Will return
false if a solution could not be found.
Definition at line 116 of file main.java.
◆ zero()
static long com.google.ortools.constraintsolver.main.zero |
( |
| ) |
|
|
static |
NOLINT
This method returns 0. It is useful when 0 can be cast either as
a pointer or as an integer value and thus lead to an ambiguous
function call.
Definition at line 22 of file main.java.
The documentation for this class was generated from the following file:
- build/java/ortools-java/src/main/java/com/google/ortools/constraintsolver/main.java