Java Reference
Java Reference
MPSosConstraintOrBuilder.java
Go to the documentation of this file.
com.google.ortools.linearsolver.MPSosConstraint.Type getType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];
java.util.List< java.lang.Double > getWeightList()
double getWeight(int index)
int getVarIndexCount()
java.util.List< java.lang.Integer > getVarIndexList()
int getVarIndex(int index)
boolean hasType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];
int getWeightCount()