Google OR-Tools v9.15
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 719 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 753 of file MPSolver.java.

◆ swigValue()

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

Definition at line 749 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 739 of file MPSolver.java.

◆ FEASIBLE

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

feasible, or stopped by limit.

Definition at line 727 of file MPSolver.java.

◆ INFEASIBLE

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

proven infeasible.

Definition at line 731 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 743 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 747 of file MPSolver.java.

◆ OPTIMAL

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

optimal.

Definition at line 723 of file MPSolver.java.

◆ UNBOUNDED

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

proven unbounded.

Definition at line 735 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