All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ortools.linearsolver.MPIndicatorConstraintOrBuilder 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 MPIndicatorConstraintOrBuilder extends
    // @@protoc_insertion_point(interface_extends:operations_research.MPIndicatorConstraint)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean
   * variable used as indicator.
   * 
* * optional int32 var_index = 1; * @return Whether the varIndex field is set. */ boolean hasVarIndex(); /** *
   * Variable index (w.r.t. the "variable" field of MPModelProto) of the Boolean
   * variable used as indicator.
   * 
* * optional int32 var_index = 1; * @return The varIndex. */ int getVarIndex(); /** *
   * Value the above variable should take. Must be 0 or 1.
   * 
* * optional int32 var_value = 2; * @return Whether the varValue field is set. */ boolean hasVarValue(); /** *
   * Value the above variable should take. Must be 0 or 1.
   * 
* * optional int32 var_value = 2; * @return The varValue. */ int getVarValue(); /** *
   * The constraint activated by the indicator variable.
   * 
* * optional .operations_research.MPConstraintProto constraint = 3; * @return Whether the constraint field is set. */ boolean hasConstraint(); /** *
   * The constraint activated by the indicator variable.
   * 
* * optional .operations_research.MPConstraintProto constraint = 3; * @return The constraint. */ com.google.ortools.linearsolver.MPConstraintProto getConstraint(); /** *
   * The constraint activated by the indicator variable.
   * 
* * optional .operations_research.MPConstraintProto constraint = 3; */ com.google.ortools.linearsolver.MPConstraintProtoOrBuilder getConstraintOrBuilder(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy