Reference

C++

Python

DotNET

Java Documentation

Java Reference

MPVariableProtoOrBuilder.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 MPVariableProtoOrBuilder extends
7  // @@protoc_insertion_point(interface_extends:operations_research.MPVariableProto)
8  com.google.protobuf.MessageOrBuilder {
9 
17  boolean hasLowerBound();
25  double getLowerBound();
26 
30  boolean hasUpperBound();
34  double getUpperBound();
35 
43  boolean hasObjectiveCoefficient();
51  double getObjectiveCoefficient();
52 
61  boolean hasIsInteger();
70  boolean getIsInteger();
71 
79  boolean hasName();
87  java.lang.String getName();
95  com.google.protobuf.ByteString
96  getNameBytes();
97 
101  boolean hasBranchingPriority();
105  int getBranchingPriority();
106 }
boolean hasBranchingPriority()
optional int32 branching_priority = 6 [default = 0];
boolean hasUpperBound()
optional double upper_bound = 2 [default = inf];
double getUpperBound()
optional double upper_bound = 2 [default = inf];
int getBranchingPriority()
optional int32 branching_priority = 6 [default = 0];