Google OR-Tools
v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
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
// Protobuf Java Version: 4.26.1
5
package
com.google.ortools.linearsolver;
6
7
public
interface
MPSosConstraintOrBuilder
extends
8
// @@protoc_insertion_point(interface_extends:operations_research.MPSosConstraint)
9
com.google.protobuf.MessageOrBuilder {
10
15
boolean
hasType
();
20
com.google.ortools.linearsolver.MPSosConstraint.Type
getType
();
21
31
java.util.List<java.lang.Integer>
getVarIndexList
();
41
int
getVarIndexCount
();
52
int
getVarIndex
(
int
index);
53
71
java.util.List<java.lang.Double>
getWeightList
();
89
int
getWeightCount
();
108
double
getWeight
(
int
index);
109
}
com.google.ortools.linearsolver.MPSosConstraint.Type
Definition
MPSosConstraint.java:57
com.google.ortools.linearsolver.MPSosConstraintOrBuilder
Definition
MPSosConstraintOrBuilder.java:9
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getWeightList
java.util.List< java.lang.Double > getWeightList()
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getWeightCount
int getWeightCount()
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getType
com.google.ortools.linearsolver.MPSosConstraint.Type getType()
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.hasType
boolean hasType()
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getWeight
double getWeight(int index)
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getVarIndex
int getVarIndex(int index)
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getVarIndexCount
int getVarIndexCount()
com.google.ortools.linearsolver.MPSosConstraintOrBuilder.getVarIndexList
java.util.List< java.lang.Integer > getVarIndexList()
build
java
ortools-java
src
main
java
com
google
ortools
linearsolver
MPSosConstraintOrBuilder.java
Generated by
1.12.0