Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase Enum Reference
Inheritance diagram for com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase:

Public Member Functions

int getNumber ()
 

Static Public Member Functions

static GeneralConstraintCase valueOf (int value)
 
static GeneralConstraintCase forNumber (int value)
 

Public Attributes

 INDICATOR_CONSTRAINT =(2)
 
 SOS_CONSTRAINT =(3)
 
 QUADRATIC_CONSTRAINT =(4)
 
 ABS_CONSTRAINT =(5)
 
 AND_CONSTRAINT =(6)
 
 OR_CONSTRAINT =(7)
 
 MIN_CONSTRAINT =(8)
 
 MAX_CONSTRAINT =(9)
 
 GENERALCONSTRAINT_NOT_SET =(0)
 

Detailed Description

Definition at line 53 of file MPGeneralConstraintProto.java.

Member Function Documentation

◆ forNumber()

static GeneralConstraintCase com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.forNumber ( int value)
static

Definition at line 79 of file MPGeneralConstraintProto.java.

◆ getNumber()

int com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.getNumber ( )

Definition at line 93 of file MPGeneralConstraintProto.java.

◆ valueOf()

static GeneralConstraintCase com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.valueOf ( int value)
static
Parameters
valueThe number of the enum to look for.
Returns
The enum associated with the given number.
Deprecated
Use forNumber(int) instead.

Definition at line 75 of file MPGeneralConstraintProto.java.

Member Data Documentation

◆ ABS_CONSTRAINT

com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.ABS_CONSTRAINT =(5)

Definition at line 59 of file MPGeneralConstraintProto.java.

◆ AND_CONSTRAINT

com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.AND_CONSTRAINT =(6)

Definition at line 60 of file MPGeneralConstraintProto.java.

◆ GENERALCONSTRAINT_NOT_SET

com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.GENERALCONSTRAINT_NOT_SET =(0)

Definition at line 64 of file MPGeneralConstraintProto.java.

◆ INDICATOR_CONSTRAINT

com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.INDICATOR_CONSTRAINT =(2)

Definition at line 56 of file MPGeneralConstraintProto.java.

◆ MAX_CONSTRAINT

com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.MAX_CONSTRAINT =(9)

Definition at line 63 of file MPGeneralConstraintProto.java.

◆ MIN_CONSTRAINT

com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.MIN_CONSTRAINT =(8)

Definition at line 62 of file MPGeneralConstraintProto.java.

◆ OR_CONSTRAINT

com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.OR_CONSTRAINT =(7)

Definition at line 61 of file MPGeneralConstraintProto.java.

◆ QUADRATIC_CONSTRAINT

com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.QUADRATIC_CONSTRAINT =(4)

Definition at line 58 of file MPGeneralConstraintProto.java.

◆ SOS_CONSTRAINT

com.google.ortools.linearsolver.MPGeneralConstraintProto.GeneralConstraintCase.SOS_CONSTRAINT =(3)

Definition at line 57 of file MPGeneralConstraintProto.java.


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