Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.linearsolver.MPSolver.ResultStatus Enum Reference

Detailed Description

The status of solving the problem. The straightforward translation to
homonymous enum values of MPSolverResponseStatus (see
./linear_solver.proto) is guaranteed by ./enum_consistency_test.cc, you may
rely on it.

Definition at line 716 of file MPSolver.java.

Public Member Functions

final int swigValue ()

Static Public Member Functions

static ResultStatus swigToEnum (int swigValue)

Public Attributes

 OPTIMAL
 FEASIBLE
 INFEASIBLE
 UNBOUNDED
 ABNORMAL
 MODEL_INVALID
 NOT_SOLVED =(mainJNI.MPSolver_NOT_SOLVED_get())

Member Function Documentation

◆ swigToEnum()

ResultStatus com.google.ortools.linearsolver.MPSolver.ResultStatus.swigToEnum ( int swigValue)
static

Definition at line 750 of file MPSolver.java.

◆ swigValue()

final int com.google.ortools.linearsolver.MPSolver.ResultStatus.swigValue ( )

Definition at line 746 of file MPSolver.java.

Member Data Documentation

◆ ABNORMAL

com.google.ortools.linearsolver.MPSolver.ResultStatus.ABNORMAL

abnormal, i.e., error of some kind.

Definition at line 736 of file MPSolver.java.

◆ FEASIBLE

com.google.ortools.linearsolver.MPSolver.ResultStatus.FEASIBLE

feasible, or stopped by limit.

Definition at line 724 of file MPSolver.java.

◆ INFEASIBLE

com.google.ortools.linearsolver.MPSolver.ResultStatus.INFEASIBLE

proven infeasible.

Definition at line 728 of file MPSolver.java.

◆ MODEL_INVALID

com.google.ortools.linearsolver.MPSolver.ResultStatus.MODEL_INVALID

the model is trivially invalid (NaN coefficients, etc).

Definition at line 740 of file MPSolver.java.

◆ NOT_SOLVED

com.google.ortools.linearsolver.MPSolver.ResultStatus.NOT_SOLVED =(mainJNI.MPSolver_NOT_SOLVED_get())

not been solved yet.

Definition at line 744 of file MPSolver.java.

◆ OPTIMAL

com.google.ortools.linearsolver.MPSolver.ResultStatus.OPTIMAL

optimal.

Definition at line 720 of file MPSolver.java.

◆ UNBOUNDED

com.google.ortools.linearsolver.MPSolver.ResultStatus.UNBOUNDED

proven unbounded.

Definition at line 732 of file MPSolver.java.


The documentation for this enum was generated from the following file:
  • build/java/ortools-java/src/main/java/com/google/ortools/linearsolver/MPSolver.java