2021-04-27 23:00:03 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< title > OR-Tools< / title >
< meta http-equiv = "Content-Type" content = "text/html;" / >
< meta charset = "utf-8" / >
<!-- <link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/> -->
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "styleSheet.tmp.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "banner-container" >
< div id = "banner" >
2021-12-14 13:41:01 +01:00
< span id = "sfml" > Google OR-Tools 9.2< / span >
2021-04-27 23:00:03 +02:00
< / div >
< / div >
< div id = "content" style = "width: 100%; overflow: hidden;" >
< div style = "margin-left: 15px; margin-top: 5px; float: left; color: #145A32;" >
< h2 > Java Reference< / h2 >
< ul >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1sat.html" > CP-SAT< / a > < / li >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1graph.html" > Graph< / a > < / li >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1algorithms.html" > Knapsack solver< / a > < / li >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1linearsolver.html" > Linear solver< / a > < / li >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1constraintsolver.html" > Routing< / a > < / li >
< li > < a href = "../java/namespacecom_1_1google_1_1ortools_1_1util.html" > Util< / a > < / li >
< / ul >
< / div >
< div id = "content" >
< div align = "center" >
< h1 style = "color: #145A32;" > Java Reference< / h1 >
< / div >
2021-09-30 01:18:45 +02:00
<!-- Generated by Doxygen 1.9.2 -->
2021-04-27 23:00:03 +02:00
< script type = "text/javascript" >
2021-09-30 01:18:45 +02:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
2021-04-27 23:00:03 +02:00
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
2021-09-30 01:18:45 +02:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
2021-04-27 23:00:03 +02:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2021-09-30 01:18:45 +02:00
/* @license-end */
< / script >
2021-04-27 23:00:03 +02:00
< div id = "main-nav" > < / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
2021-09-30 01:18:45 +02:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(document).ready(function(){initNavTree('MPSolutionOrBuilder_8java_source.html',''); initResizable(); });
2021-04-27 23:00:03 +02:00
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
2021-09-30 01:18:45 +02:00
< div class = "headertitle" > < div class = "title" > MPSolutionOrBuilder.java< / div > < / div >
2021-04-27 23:00:03 +02:00
< / div > <!-- header -->
< div class = "contents" >
2021-09-30 01:18:45 +02:00
< a href = "MPSolutionOrBuilder_8java.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a id = "l00001" name = "l00001" > < / a > < span class = "lineno" > 1< / span > < span class = "comment" > // Generated by the protocol buffer compiler. DO NOT EDIT!< / span > < / div >
< div class = "line" > < a id = "l00002" name = "l00002" > < / a > < span class = "lineno" > 2< / span > < span class = "comment" > // source: ortools/linear_solver/linear_solver.proto< / span > < / div >
< div class = "line" > < a id = "l00003" name = "l00003" > < / a > < span class = "lineno" > 3< / span > < / div >
< div class = "line" > < a id = "l00004" name = "l00004" > < / a > < span class = "lineno" > 4< / span > < span class = "keyword" > package < / span > com.google.ortools.linearsolver;< / div >
< div class = "line" > < a id = "l00005" name = "l00005" > < / a > < span class = "lineno" > 5< / span > < / div >
< div class = "line" > < a id = "l00006" name = "l00006" > < / a > < span class = "lineno" > < a class = "line" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html" > 6< / a > < / span > < span class = "keyword" > public< / span > < span class = "keyword" > interface < / span > < a class = "code hl_interface" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html" > MPSolutionOrBuilder< / a > < span class = "keyword" > extends< / span > < / div >
< div class = "line" > < a id = "l00007" name = "l00007" > < / a > < span class = "lineno" > 7< / span > < span class = "comment" > // @@protoc_insertion_point(interface_extends:operations_research.MPSolution)< / span > < / div >
< div class = "line" > < a id = "l00008" name = "l00008" > < / a > < span class = "lineno" > 8< / span > com.google.protobuf.MessageOrBuilder {< / div >
< div class = "line" > < a id = "l00009" name = "l00009" > < / a > < span class = "lineno" > 9< / span > < / div >
< div class = "line" > < a id = "l00014" name = "l00014" > < / a > < span class = "lineno" > < a class = "line" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a6361e526206abb1ed22f4eba11a13bea" > 14< / a > < / span > < span class = "keywordtype" > boolean< / span > < a class = "code hl_function" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a6361e526206abb1ed22f4eba11a13bea" > hasObjectiveValue< / a > ();< / div >
< div class = "line" > < a id = "l00019" name = "l00019" > < / a > < span class = "lineno" > < a class = "line" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a340199108d7279a16fbcd5429aa1bd80" > 19< / a > < / span > < span class = "keywordtype" > double< / span > < a class = "code hl_function" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a340199108d7279a16fbcd5429aa1bd80" > getObjectiveValue< / a > ();< / div >
< div class = "line" > < a id = "l00020" name = "l00020" > < / a > < span class = "lineno" > 20< / span > < / div >
< div class = "line" > < a id = "l00025" name = "l00025" > < / a > < span class = "lineno" > < a class = "line" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#abe221c5958517fd384ab91e6341f8ec6" > 25< / a > < / span > java.util.List< java.lang.Double> < a class = "code hl_function" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#abe221c5958517fd384ab91e6341f8ec6" > getVariableValueList< / a > ();< / div >
< div class = "line" > < a id = "l00030" name = "l00030" > < / a > < span class = "lineno" > < a class = "line" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a9d7f280d5bfbcf64db93e19792f6eea6" > 30< / a > < / span > < span class = "keywordtype" > int< / span > < a class = "code hl_function" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a9d7f280d5bfbcf64db93e19792f6eea6" > getVariableValueCount< / a > ();< / div >
< div class = "line" > < a id = "l00036" name = "l00036" > < / a > < span class = "lineno" > < a class = "line" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a793fad10739ca74825a5dffb7954bda6" > 36< / a > < / span > < span class = "keywordtype" > double< / span > < a class = "code hl_function" href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a793fad10739ca74825a5dffb7954bda6" > getVariableValue< / a > (< span class = "keywordtype" > int< / span > index);< / div >
< div class = "line" > < a id = "l00037" name = "l00037" > < / a > < span class = "lineno" > 37< / span > }< / div >
< div class = "ttc" id = "ainterfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder_html" > < div class = "ttname" > < a href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html" > com.google.ortools.linearsolver.MPSolutionOrBuilder< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "MPSolutionOrBuilder_8java_source.html#l00006" > MPSolutionOrBuilder.java:8< / a > < / div > < / div >
< div class = "ttc" id = "ainterfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder_html_a340199108d7279a16fbcd5429aa1bd80" > < div class = "ttname" > < a href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a340199108d7279a16fbcd5429aa1bd80" > com.google.ortools.linearsolver.MPSolutionOrBuilder.getObjectiveValue< / a > < / div > < div class = "ttdeci" > double getObjectiveValue()< / div > < div class = "ttdoc" > optional double objective_value = 1;< / div > < / div >
< div class = "ttc" id = "ainterfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder_html_a6361e526206abb1ed22f4eba11a13bea" > < div class = "ttname" > < a href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a6361e526206abb1ed22f4eba11a13bea" > com.google.ortools.linearsolver.MPSolutionOrBuilder.hasObjectiveValue< / a > < / div > < div class = "ttdeci" > boolean hasObjectiveValue()< / div > < div class = "ttdoc" > optional double objective_value = 1;< / div > < / div >
< div class = "ttc" id = "ainterfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder_html_a793fad10739ca74825a5dffb7954bda6" > < div class = "ttname" > < a href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a793fad10739ca74825a5dffb7954bda6" > com.google.ortools.linearsolver.MPSolutionOrBuilder.getVariableValue< / a > < / div > < div class = "ttdeci" > double getVariableValue(int index)< / div > < div class = "ttdoc" > repeated double variable_value = 2 [packed = true];< / div > < / div >
< div class = "ttc" id = "ainterfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder_html_a9d7f280d5bfbcf64db93e19792f6eea6" > < div class = "ttname" > < a href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#a9d7f280d5bfbcf64db93e19792f6eea6" > com.google.ortools.linearsolver.MPSolutionOrBuilder.getVariableValueCount< / a > < / div > < div class = "ttdeci" > int getVariableValueCount()< / div > < div class = "ttdoc" > repeated double variable_value = 2 [packed = true];< / div > < / div >
< div class = "ttc" id = "ainterfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder_html_abe221c5958517fd384ab91e6341f8ec6" > < div class = "ttname" > < a href = "interfacecom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionOrBuilder.html#abe221c5958517fd384ab91e6341f8ec6" > com.google.ortools.linearsolver.MPSolutionOrBuilder.getVariableValueList< / a > < / div > < div class = "ttdeci" > java.util.List< java.lang.Double > getVariableValueList()< / div > < div class = "ttdoc" > repeated double variable_value = 2 [packed = true];< / div > < / div >
2021-04-27 23:00:03 +02:00
< / div > <!-- fragment --> < / div > <!-- contents -->
< / div > <!-- doc - content -->
< / div >
< / div >
< div id = "footer-container" >
< div id = "footer" >
< / div >
< / div >
< / body >
< / html >