com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ortools/linear_solver/linear_solver.proto
package com.google.ortools.linearsolver;
public interface MPArrayWithConstantConstraintOrBuilder extends
// @@protoc_insertion_point(interface_extends:operations_research.MPArrayWithConstantConstraint)
com.google.protobuf.MessageOrBuilder {
/**
*
* Variable indices are relative to the "variable" field in MPModelProto.
* resultant_var = f(var_1, var_2, ..., constant)
*
*
* repeated int32 var_index = 1;
* @return A list containing the varIndex.
*/
java.util.List getVarIndexList();
/**
*
* Variable indices are relative to the "variable" field in MPModelProto.
* resultant_var = f(var_1, var_2, ..., constant)
*
*
* repeated int32 var_index = 1;
* @return The count of varIndex.
*/
int getVarIndexCount();
/**
*
* Variable indices are relative to the "variable" field in MPModelProto.
* resultant_var = f(var_1, var_2, ..., constant)
*
*
* repeated int32 var_index = 1;
* @param index The index of the element to return.
* @return The varIndex at the given index.
*/
int getVarIndex(int index);
/**
* optional double constant = 2;
* @return Whether the constant field is set.
*/
boolean hasConstant();
/**
* optional double constant = 2;
* @return The constant.
*/
double getConstant();
/**
* optional int32 resultant_var_index = 3;
* @return Whether the resultantVarIndex field is set.
*/
boolean hasResultantVarIndex();
/**
* optional int32 resultant_var_index = 3;
* @return The resultantVarIndex.
*/
int getResultantVarIndex();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy