Java Reference
Java Reference
MPSosConstraintOrBuilder.java
double getWeight(int index)
int getVarIndex(int index)
java.util.List< java.lang.Double > getWeightList()
int getWeightCount()
com.google.ortools.linearsolver.MPSosConstraint.Type getType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];
Protobuf enum.
Definition: MPSosConstraint.java:157
int getVarIndexCount()
java.util.List< java.lang.Integer > getVarIndexList()
boolean hasType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];