OR-Tools 7.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
ortools
gen
com
google
ortools
linearsolver
MPSosConstraintOrBuilder.java
Go to the documentation of this file.
1
// Generated by the protocol buffer compiler. DO NOT EDIT!
2
// source: ortools/linear_solver/linear_solver.proto
3
4
package
com.google.ortools.linearsolver;
5
6
public
interface
MPSosConstraintOrBuilder
extends
7
// @@protoc_insertion_point(interface_extends:operations_research.MPSosConstraint)
8
com
.google.protobuf.MessageOrBuilder {
9
13
boolean
hasType
();
17
com
.
google
.
ortools
.
linearsolver
.
MPSosConstraint
.
Type
getType
();
18
27
java.util.List<java.lang.Integer>
getVarIndexList
();
36
int
getVarIndexCount
();
45
int
getVarIndex
(
int
index);
46
62
java.util.List<java.lang.Double>
getWeightList
();
78
int
getWeightCount
();
94
double
getWeight
(
int
index);
95
}
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getVarIndex
int getVarIndex(int index)
com.google.ortools.linearsolver.MPSosConstraintOrBuilder
Definition:
MPSosConstraintOrBuilder.java:6
com.google.ortools.linearsolver.MPSosConstraint
Definition:
MPSosConstraint.java:15
com
com.google.ortools.linearsolver
Definition:
LinearSolver.java:4
com.google.ortools
com.google.ortools.linearsolver.MPSosConstraint.Type
Protobuf enum.
Definition:
MPSosConstraint.java:156
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getType
com.google.ortools.linearsolver.MPSosConstraint.Type getType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getVarIndexCount
int getVarIndexCount()
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getWeightCount
int getWeightCount()
com.google
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getWeightList
java.util.List< java.lang.Double > getWeightList()
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getVarIndexList
java.util.List< java.lang.Integer > getVarIndexList()
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getWeight
double getWeight(int index)
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.hasType
boolean hasType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];