3196 lines
227 KiB
HTML
3196 lines
227 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (17) on Thu Mar 03 21:59:09 CET 2022 -->
|
|
<title>CpSolverResponse.Builder (com.google.ortools:ortools-java 9.3.10440 API)</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="dc.created" content="2022-03-03">
|
|
<meta name="description" content="declaration: package: com.google.ortools.sat, class: CpSolverResponse, class: Builder">
|
|
<meta name="generator" content="javadoc/ClassWriterImpl">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script>
|
|
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body class="class-declaration-page">
|
|
<script type="text/javascript">var evenRowColor = "even-row-color";
|
|
var oddRowColor = "odd-row-color";
|
|
var tableTab = "table-tab";
|
|
var activeTableTab = "active-table-tab";
|
|
var pathtoroot = "../../../../";
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<div class="flex-box">
|
|
<header role="banner" class="flex-header">
|
|
<nav role="navigation">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="top-nav" id="navbar-top">
|
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="nav-bar-cell1-rev">Class</li>
|
|
<li><a href="class-use/CpSolverResponse.Builder.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html#class">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="sub-nav">
|
|
<div>
|
|
<ul class="sub-nav-list">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method-summary">Method</a></li>
|
|
</ul>
|
|
<ul class="sub-nav-list">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method-detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
|
|
<input type="text" id="search-input" value="search" disabled="disabled">
|
|
<input type="reset" id="reset-button" value="reset" disabled="disabled">
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
|
</header>
|
|
<div class="flex-content">
|
|
<main role="main">
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">com.google.ortools.sat</a></div>
|
|
<h1 title="Class CpSolverResponse.Builder" class="title">Class CpSolverResponse.Builder</h1>
|
|
</div>
|
|
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
|
|
<div class="inheritance">com.google.protobuf.AbstractMessageLite.Builder
|
|
<div class="inheritance">com.google.protobuf.AbstractMessage.Builder<BuilderType>
|
|
<div class="inheritance">com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>>
|
|
<div class="inheritance">com.google.ortools.sat.CpSolverResponse.Builder</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<section class="class-description" id="class-description">
|
|
<dl class="notes">
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code>, <code>com.google.protobuf.Message.Builder</code>, <code>com.google.protobuf.MessageLite.Builder</code>, <code>com.google.protobuf.MessageLiteOrBuilder</code>, <code>com.google.protobuf.MessageOrBuilder</code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang" class="external-link">Cloneable</a></code></dd>
|
|
</dl>
|
|
<dl class="notes">
|
|
<dt>Enclosing class:</dt>
|
|
<dd><a href="CpSolverResponse.html" title="class in com.google.ortools.sat">CpSolverResponse</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<div class="type-signature"><span class="modifiers">public static final class </span><span class="element-name type-name-label">CpSolverResponse.Builder</span>
|
|
<span class="extends-implements">extends com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>>
|
|
implements <a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></span></div>
|
|
<div class="block"><pre>
|
|
The response returned by a solver trying to solve a CpModelProto.
|
|
TODO(user): support returning multiple solutions. Look at the Stubby
|
|
streaming API as we probably wants to get them as they are found.
|
|
Next id: 30
|
|
</pre>
|
|
|
|
Protobuf type <code>operations_research.sat.CpSolverResponse</code></div>
|
|
</section>
|
|
<section class="summary">
|
|
<ul class="summary-list">
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<li>
|
|
<section class="method-summary" id="method-summary">
|
|
<h2>Method Summary</h2>
|
|
<div id="method-summary-table">
|
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
|
|
<div id="method-summary-table.tabpanel" role="tabpanel">
|
|
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAdditionalSolutions(int,com.google.ortools.sat.CpSolverSolution)" class="member-name-link">addAdditionalSolutions</a><wbr>(int index,
|
|
<a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAdditionalSolutions(int,com.google.ortools.sat.CpSolverSolution.Builder)" class="member-name-link">addAdditionalSolutions</a><wbr>(int index,
|
|
<a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a> builderForValue)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAdditionalSolutions(com.google.ortools.sat.CpSolverSolution)" class="member-name-link">addAdditionalSolutions</a><wbr>(<a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAdditionalSolutions(com.google.ortools.sat.CpSolverSolution.Builder)" class="member-name-link">addAdditionalSolutions</a><wbr>(<a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a> builderForValue)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAdditionalSolutionsBuilder()" class="member-name-link">addAdditionalSolutionsBuilder</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAdditionalSolutionsBuilder(int)" class="member-name-link">addAdditionalSolutionsBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAllAdditionalSolutions(java.lang.Iterable)" class="member-name-link">addAllAdditionalSolutions</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a>> values)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAllSolution(java.lang.Iterable)" class="member-name-link">addAllSolution</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>> values)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A feasible solution to the given problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAllSufficientAssumptionsForInfeasibility(java.lang.Iterable)" class="member-name-link">addAllSufficientAssumptionsForInfeasibility</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>> values)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A subset of the model "assumptions" field.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAllTightenedVariables(java.lang.Iterable)" class="member-name-link">addAllTightenedVariables</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>> values)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)" class="member-name-link">addRepeatedField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addSolution(long)" class="member-name-link">addSolution</a><wbr>(long value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A feasible solution to the given problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addSufficientAssumptionsForInfeasibility(int)" class="member-name-link">addSufficientAssumptionsForInfeasibility</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A subset of the model "assumptions" field.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addTightenedVariables(int,com.google.ortools.sat.IntegerVariableProto)" class="member-name-link">addTightenedVariables</a><wbr>(int index,
|
|
<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addTightenedVariables(int,com.google.ortools.sat.IntegerVariableProto.Builder)" class="member-name-link">addTightenedVariables</a><wbr>(int index,
|
|
<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a> builderForValue)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addTightenedVariables(com.google.ortools.sat.IntegerVariableProto)" class="member-name-link">addTightenedVariables</a><wbr>(<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addTightenedVariables(com.google.ortools.sat.IntegerVariableProto.Builder)" class="member-name-link">addTightenedVariables</a><wbr>(<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a> builderForValue)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addTightenedVariablesBuilder()" class="member-name-link">addTightenedVariablesBuilder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addTightenedVariablesBuilder(int)" class="member-name-link">addTightenedVariablesBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.html" title="class in com.google.ortools.sat">CpSolverResponse</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#build()" class="member-name-link">build</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.html" title="class in com.google.ortools.sat">CpSolverResponse</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#buildPartial()" class="member-name-link">buildPartial</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clear()" class="member-name-link">clear</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAdditionalSolutions()" class="member-name-link">clearAdditionalSolutions</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearBestObjectiveBound()" class="member-name-link">clearBestObjectiveBound</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Only make sense for an optimization problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearDeterministicTime()" class="member-name-link">clearDeterministicTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>double deterministic_time = 17;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearField(com.google.protobuf.Descriptors.FieldDescriptor)" class="member-name-link">clearField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor field)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearGapIntegral()" class="member-name-link">clearGapIntegral</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The integral of log(1 + absolute_objective_gap) over time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearInnerObjectiveLowerBound()" class="member-name-link">clearInnerObjectiveLowerBound</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearIntegerObjective()" class="member-name-link">clearIntegerObjective</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Contains the integer objective optimized internally.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNumBinaryPropagations()" class="member-name-link">clearNumBinaryPropagations</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_binary_propagations = 13;</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNumBooleans()" class="member-name-link">clearNumBooleans</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Some statistics about the solve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNumBranches()" class="member-name-link">clearNumBranches</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_branches = 12;</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNumConflicts()" class="member-name-link">clearNumConflicts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_conflicts = 11;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNumIntegerPropagations()" class="member-name-link">clearNumIntegerPropagations</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_integer_propagations = 14;</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNumLpIterations()" class="member-name-link">clearNumLpIterations</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_lp_iterations = 25;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNumRestarts()" class="member-name-link">clearNumRestarts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_restarts = 24;</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearObjectiveValue()" class="member-name-link">clearObjectiveValue</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Only make sense for an optimization problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)" class="member-name-link">clearOneof</a><wbr>(com.google.protobuf.Descriptors.OneofDescriptor oneof)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSolution()" class="member-name-link">clearSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A feasible solution to the given problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSolutionInfo()" class="member-name-link">clearSolutionInfo</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Additional information about how the solution was found.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSolveLog()" class="member-name-link">clearSolveLog</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solve log will be filled if the parameter log_to_response is set to
|
|
true.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearStatus()" class="member-name-link">clearStatus</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The status of the solve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSufficientAssumptionsForInfeasibility()" class="member-name-link">clearSufficientAssumptionsForInfeasibility</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A subset of the model "assumptions" field.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearTightenedVariables()" class="member-name-link">clearTightenedVariables</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUserTime()" class="member-name-link">clearUserTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>double user_time = 16;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearWallTime()" class="member-name-link">clearWallTime</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The time counted from the beginning of the Solve() call.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clone()" class="member-name-link">clone</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAdditionalSolutions(int)" class="member-name-link">getAdditionalSolutions</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAdditionalSolutionsBuilder(int)" class="member-name-link">getAdditionalSolutionsBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAdditionalSolutionsBuilderList()" class="member-name-link">getAdditionalSolutionsBuilderList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAdditionalSolutionsCount()" class="member-name-link">getAdditionalSolutionsCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAdditionalSolutionsList()" class="member-name-link">getAdditionalSolutionsList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverSolutionOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverSolutionOrBuilder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAdditionalSolutionsOrBuilder(int)" class="member-name-link">getAdditionalSolutionsOrBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="CpSolverSolutionOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverSolutionOrBuilder</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAdditionalSolutionsOrBuilderList()" class="member-name-link">getAdditionalSolutionsOrBuilderList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBestObjectiveBound()" class="member-name-link">getBestObjectiveBound</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Only make sense for an optimization problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.html" title="class in com.google.ortools.sat">CpSolverResponse</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDefaultInstanceForType()" class="member-name-link">getDefaultInstanceForType</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final com.google.protobuf.Descriptors.Descriptor</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getDescriptor()" class="member-name-link">getDescriptor</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.Descriptors.Descriptor</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDescriptorForType()" class="member-name-link">getDescriptorForType</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDeterministicTime()" class="member-name-link">getDeterministicTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>double deterministic_time = 17;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getGapIntegral()" class="member-name-link">getGapIntegral</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The integral of log(1 + absolute_objective_gap) over time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInnerObjectiveLowerBound()" class="member-name-link">getInnerObjectiveLowerBound</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntegerObjective()" class="member-name-link">getIntegerObjective</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Contains the integer objective optimized internally.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpObjectiveProto.Builder.html" title="class in com.google.ortools.sat">CpObjectiveProto.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntegerObjectiveBuilder()" class="member-name-link">getIntegerObjectiveBuilder</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Contains the integer objective optimized internally.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpObjectiveProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpObjectiveProtoOrBuilder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntegerObjectiveOrBuilder()" class="member-name-link">getIntegerObjectiveOrBuilder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Contains the integer objective optimized internally.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumBinaryPropagations()" class="member-name-link">getNumBinaryPropagations</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_binary_propagations = 13;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumBooleans()" class="member-name-link">getNumBooleans</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Some statistics about the solve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumBranches()" class="member-name-link">getNumBranches</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_branches = 12;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumConflicts()" class="member-name-link">getNumConflicts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_conflicts = 11;</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumIntegerPropagations()" class="member-name-link">getNumIntegerPropagations</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_integer_propagations = 14;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumLpIterations()" class="member-name-link">getNumLpIterations</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_lp_iterations = 25;</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumRestarts()" class="member-name-link">getNumRestarts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_restarts = 24;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getObjectiveValue()" class="member-name-link">getObjectiveValue</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Only make sense for an optimization problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolution(int)" class="member-name-link">getSolution</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A feasible solution to the given problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolutionCount()" class="member-name-link">getSolutionCount</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A feasible solution to the given problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolutionInfo()" class="member-name-link">getSolutionInfo</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Additional information about how the solution was found.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.ByteString</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolutionInfoBytes()" class="member-name-link">getSolutionInfoBytes</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Additional information about how the solution was found.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolutionList()" class="member-name-link">getSolutionList</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A feasible solution to the given problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolveLog()" class="member-name-link">getSolveLog</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solve log will be filled if the parameter log_to_response is set to
|
|
true.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.ByteString</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolveLogBytes()" class="member-name-link">getSolveLogBytes</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solve log will be filled if the parameter log_to_response is set to
|
|
true.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverStatus.html" title="enum in com.google.ortools.sat">CpSolverStatus</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStatus()" class="member-name-link">getStatus</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The status of the solve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStatusValue()" class="member-name-link">getStatusValue</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The status of the solve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSufficientAssumptionsForInfeasibility(int)" class="member-name-link">getSufficientAssumptionsForInfeasibility</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A subset of the model "assumptions" field.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSufficientAssumptionsForInfeasibilityCount()" class="member-name-link">getSufficientAssumptionsForInfeasibilityCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A subset of the model "assumptions" field.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSufficientAssumptionsForInfeasibilityList()" class="member-name-link">getSufficientAssumptionsForInfeasibilityList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A subset of the model "assumptions" field.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTightenedVariables(int)" class="member-name-link">getTightenedVariables</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTightenedVariablesBuilder(int)" class="member-name-link">getTightenedVariablesBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTightenedVariablesBuilderList()" class="member-name-link">getTightenedVariablesBuilderList</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTightenedVariablesCount()" class="member-name-link">getTightenedVariablesCount</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTightenedVariablesList()" class="member-name-link">getTightenedVariablesList</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntegerVariableProtoOrBuilder.html" title="interface in com.google.ortools.sat">IntegerVariableProtoOrBuilder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTightenedVariablesOrBuilder(int)" class="member-name-link">getTightenedVariablesOrBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="IntegerVariableProtoOrBuilder.html" title="interface in com.google.ortools.sat">IntegerVariableProtoOrBuilder</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTightenedVariablesOrBuilderList()" class="member-name-link">getTightenedVariablesOrBuilderList</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUserTime()" class="member-name-link">getUserTime</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>double user_time = 16;</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getWallTime()" class="member-name-link">getWallTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The time counted from the beginning of the Solve() call.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasIntegerObjective()" class="member-name-link">hasIntegerObjective</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Contains the integer objective optimized internally.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#internalGetFieldAccessorTable()" class="member-name-link">internalGetFieldAccessorTable</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isInitialized()" class="member-name-link">isInitialized</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeFrom(com.google.ortools.sat.CpSolverResponse)" class="member-name-link">mergeFrom</a><wbr>(<a href="CpSolverResponse.html" title="class in com.google.ortools.sat">CpSolverResponse</a> other)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)" class="member-name-link">mergeFrom</a><wbr>(com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeFrom(com.google.protobuf.Message)" class="member-name-link">mergeFrom</a><wbr>(com.google.protobuf.Message other)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeIntegerObjective(com.google.ortools.sat.CpObjectiveProto)" class="member-name-link">mergeIntegerObjective</a><wbr>(<a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Contains the integer objective optimized internally.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final <a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeUnknownFields(com.google.protobuf.UnknownFieldSet)" class="member-name-link">mergeUnknownFields</a><wbr>(com.google.protobuf.UnknownFieldSet unknownFields)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#removeAdditionalSolutions(int)" class="member-name-link">removeAdditionalSolutions</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#removeTightenedVariables(int)" class="member-name-link">removeTightenedVariables</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAdditionalSolutions(int,com.google.ortools.sat.CpSolverSolution)" class="member-name-link">setAdditionalSolutions</a><wbr>(int index,
|
|
<a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAdditionalSolutions(int,com.google.ortools.sat.CpSolverSolution.Builder)" class="member-name-link">setAdditionalSolutions</a><wbr>(int index,
|
|
<a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a> builderForValue)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBestObjectiveBound(double)" class="member-name-link">setBestObjectiveBound</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Only make sense for an optimization problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDeterministicTime(double)" class="member-name-link">setDeterministicTime</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>double deterministic_time = 17;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)" class="member-name-link">setField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setGapIntegral(double)" class="member-name-link">setGapIntegral</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The integral of log(1 + absolute_objective_gap) over time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInnerObjectiveLowerBound(long)" class="member-name-link">setInnerObjectiveLowerBound</a><wbr>(long value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIntegerObjective(com.google.ortools.sat.CpObjectiveProto)" class="member-name-link">setIntegerObjective</a><wbr>(<a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Contains the integer objective optimized internally.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIntegerObjective(com.google.ortools.sat.CpObjectiveProto.Builder)" class="member-name-link">setIntegerObjective</a><wbr>(<a href="CpObjectiveProto.Builder.html" title="class in com.google.ortools.sat">CpObjectiveProto.Builder</a> builderForValue)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Contains the integer objective optimized internally.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNumBinaryPropagations(long)" class="member-name-link">setNumBinaryPropagations</a><wbr>(long value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_binary_propagations = 13;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNumBooleans(long)" class="member-name-link">setNumBooleans</a><wbr>(long value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Some statistics about the solve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNumBranches(long)" class="member-name-link">setNumBranches</a><wbr>(long value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_branches = 12;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNumConflicts(long)" class="member-name-link">setNumConflicts</a><wbr>(long value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_conflicts = 11;</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNumIntegerPropagations(long)" class="member-name-link">setNumIntegerPropagations</a><wbr>(long value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_integer_propagations = 14;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNumLpIterations(long)" class="member-name-link">setNumLpIterations</a><wbr>(long value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_lp_iterations = 25;</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNumRestarts(long)" class="member-name-link">setNumRestarts</a><wbr>(long value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>int64 num_restarts = 24;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setObjectiveValue(double)" class="member-name-link">setObjectiveValue</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Only make sense for an optimization problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)" class="member-name-link">setRepeatedField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSolution(int,long)" class="member-name-link">setSolution</a><wbr>(int index,
|
|
long value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A feasible solution to the given problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSolutionInfo(java.lang.String)" class="member-name-link">setSolutionInfo</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Additional information about how the solution was found.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSolutionInfoBytes(com.google.protobuf.ByteString)" class="member-name-link">setSolutionInfoBytes</a><wbr>(com.google.protobuf.ByteString value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Additional information about how the solution was found.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSolveLog(java.lang.String)" class="member-name-link">setSolveLog</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solve log will be filled if the parameter log_to_response is set to
|
|
true.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSolveLogBytes(com.google.protobuf.ByteString)" class="member-name-link">setSolveLogBytes</a><wbr>(com.google.protobuf.ByteString value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solve log will be filled if the parameter log_to_response is set to
|
|
true.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setStatus(com.google.ortools.sat.CpSolverStatus)" class="member-name-link">setStatus</a><wbr>(<a href="CpSolverStatus.html" title="enum in com.google.ortools.sat">CpSolverStatus</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The status of the solve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setStatusValue(int)" class="member-name-link">setStatusValue</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The status of the solve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSufficientAssumptionsForInfeasibility(int,int)" class="member-name-link">setSufficientAssumptionsForInfeasibility</a><wbr>(int index,
|
|
int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A subset of the model "assumptions" field.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTightenedVariables(int,com.google.ortools.sat.IntegerVariableProto)" class="member-name-link">setTightenedVariables</a><wbr>(int index,
|
|
<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTightenedVariables(int,com.google.ortools.sat.IntegerVariableProto.Builder)" class="member-name-link">setTightenedVariables</a><wbr>(int index,
|
|
<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a> builderForValue)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final <a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUnknownFields(com.google.protobuf.UnknownFieldSet)" class="member-name-link">setUnknownFields</a><wbr>(com.google.protobuf.UnknownFieldSet unknownFields)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUserTime(double)" class="member-name-link">setUserTime</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>double user_time = 16;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setWallTime(double)" class="member-name-link">setWallTime</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The time counted from the beginning of the Solve() call.</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.GeneratedMessageV3.Builder">Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder</h3>
|
|
<code>getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.AbstractMessage.Builder">Methods inherited from class com.google.protobuf.AbstractMessage.Builder</h3>
|
|
<code>findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.AbstractMessageLite.Builder">Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder</h3>
|
|
<code>addAll, addAll, mergeFrom, newUninitializedMessageException</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
|
|
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.MessageLite.Builder">Methods inherited from interface com.google.protobuf.MessageLite.Builder</h3>
|
|
<code>mergeFrom</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.MessageOrBuilder">Methods inherited from interface com.google.protobuf.MessageOrBuilder</h3>
|
|
<code>findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof</code></div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<section class="details">
|
|
<ul class="details-list">
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<li>
|
|
<section class="method-details" id="method-detail">
|
|
<h2>Method Details</h2>
|
|
<ul class="member-list">
|
|
<li>
|
|
<section class="detail" id="getDescriptor()">
|
|
<h3>getDescriptor</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">com.google.protobuf.Descriptors.Descriptor</span> <span class="element-name">getDescriptor</span>()</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="internalGetFieldAccessorTable()">
|
|
<h3>internalGetFieldAccessorTable</h3>
|
|
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">com.google.protobuf.GeneratedMessageV3.FieldAccessorTable</span> <span class="element-name">internalGetFieldAccessorTable</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>internalGetFieldAccessorTable</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clear()">
|
|
<h3>clear</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clear</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clear</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clear</code> in interface <code>com.google.protobuf.MessageLite.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>clear</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDescriptorForType()">
|
|
<h3>getDescriptorForType</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.Descriptors.Descriptor</span> <span class="element-name">getDescriptorForType</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getDescriptorForType</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getDescriptorForType</code> in interface <code>com.google.protobuf.MessageOrBuilder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>getDescriptorForType</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDefaultInstanceForType()">
|
|
<h3>getDefaultInstanceForType</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.html" title="class in com.google.ortools.sat">CpSolverResponse</a></span> <span class="element-name">getDefaultInstanceForType</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getDefaultInstanceForType</code> in interface <code>com.google.protobuf.MessageLiteOrBuilder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getDefaultInstanceForType</code> in interface <code>com.google.protobuf.MessageOrBuilder</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="build()">
|
|
<h3>build</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.html" title="class in com.google.ortools.sat">CpSolverResponse</a></span> <span class="element-name">build</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>build</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>build</code> in interface <code>com.google.protobuf.MessageLite.Builder</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="buildPartial()">
|
|
<h3>buildPartial</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.html" title="class in com.google.ortools.sat">CpSolverResponse</a></span> <span class="element-name">buildPartial</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>buildPartial</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>buildPartial</code> in interface <code>com.google.protobuf.MessageLite.Builder</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clone()">
|
|
<h3>clone</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clone</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clone</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clone</code> in interface <code>com.google.protobuf.MessageLite.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>clone</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)">
|
|
<h3>setField</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>setField</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>setField</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearField(com.google.protobuf.Descriptors.FieldDescriptor)">
|
|
<h3>clearField</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor field)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clearField</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>clearField</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)">
|
|
<h3>clearOneof</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearOneof</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.OneofDescriptor oneof)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clearOneof</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>clearOneof</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)">
|
|
<h3>setRepeatedField</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setRepeatedField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>setRepeatedField</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>setRepeatedField</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)">
|
|
<h3>addRepeatedField</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addRepeatedField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>addRepeatedField</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>addRepeatedField</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="mergeFrom(com.google.protobuf.Message)">
|
|
<h3>mergeFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">mergeFrom</span><wbr><span class="parameters">(com.google.protobuf.Message other)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>mergeFrom</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>mergeFrom</code> in class <code>com.google.protobuf.AbstractMessage.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="mergeFrom(com.google.ortools.sat.CpSolverResponse)">
|
|
<h3>mergeFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">mergeFrom</span><wbr><span class="parameters">(<a href="CpSolverResponse.html" title="class in com.google.ortools.sat">CpSolverResponse</a> other)</span></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isInitialized()">
|
|
<h3>isInitialized</h3>
|
|
<div class="member-signature"><span class="modifiers">public final</span> <span class="return-type">boolean</span> <span class="element-name">isInitialized</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>isInitialized</code> in interface <code>com.google.protobuf.MessageLiteOrBuilder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>isInitialized</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)">
|
|
<h3>mergeFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">mergeFrom</span><wbr><span class="parameters">(com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</span>
|
|
throws <span class="exceptions"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>mergeFrom</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>mergeFrom</code> in interface <code>com.google.protobuf.MessageLite.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>mergeFrom</code> in class <code>com.google.protobuf.AbstractMessage.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
<dt>Throws:</dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getStatusValue()">
|
|
<h3>getStatusValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getStatusValue</span>()</div>
|
|
<div class="block"><pre>
|
|
The status of the solve.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpSolverStatus status = 1;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getStatusValue()">getStatusValue</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The enum numeric value on the wire for status.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setStatusValue(int)">
|
|
<h3>setStatusValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setStatusValue</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
The status of the solve.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpSolverStatus status = 1;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The enum numeric value on the wire for status to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getStatus()">
|
|
<h3>getStatus</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverStatus.html" title="enum in com.google.ortools.sat">CpSolverStatus</a></span> <span class="element-name">getStatus</span>()</div>
|
|
<div class="block"><pre>
|
|
The status of the solve.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpSolverStatus status = 1;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getStatus()">getStatus</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The status.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setStatus(com.google.ortools.sat.CpSolverStatus)">
|
|
<h3>setStatus</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setStatus</span><wbr><span class="parameters">(<a href="CpSolverStatus.html" title="enum in com.google.ortools.sat">CpSolverStatus</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
The status of the solve.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpSolverStatus status = 1;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The status to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearStatus()">
|
|
<h3>clearStatus</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearStatus</span>()</div>
|
|
<div class="block"><pre>
|
|
The status of the solve.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpSolverStatus status = 1;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolutionList()">
|
|
<h3>getSolutionList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>></span> <span class="element-name">getSolutionList</span>()</div>
|
|
<div class="block"><pre>
|
|
A feasible solution to the given problem. Depending on the returned status
|
|
it may be optimal or just feasible. This is in one-to-one correspondence
|
|
with a CpModelProto::variables repeated field and list the values of all
|
|
the variables.
|
|
</pre>
|
|
|
|
<code>repeated int64 solution = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getSolutionList()">getSolutionList</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A list containing the solution.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolutionCount()">
|
|
<h3>getSolutionCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getSolutionCount</span>()</div>
|
|
<div class="block"><pre>
|
|
A feasible solution to the given problem. Depending on the returned status
|
|
it may be optimal or just feasible. This is in one-to-one correspondence
|
|
with a CpModelProto::variables repeated field and list the values of all
|
|
the variables.
|
|
</pre>
|
|
|
|
<code>repeated int64 solution = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getSolutionCount()">getSolutionCount</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The count of solution.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolution(int)">
|
|
<h3>getSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getSolution</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
A feasible solution to the given problem. Depending on the returned status
|
|
it may be optimal or just feasible. This is in one-to-one correspondence
|
|
with a CpModelProto::variables repeated field and list the values of all
|
|
the variables.
|
|
</pre>
|
|
|
|
<code>repeated int64 solution = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getSolution(int)">getSolution</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index of the element to return.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The solution at the given index.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSolution(int,long)">
|
|
<h3>setSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setSolution</span><wbr><span class="parameters">(int index,
|
|
long value)</span></div>
|
|
<div class="block"><pre>
|
|
A feasible solution to the given problem. Depending on the returned status
|
|
it may be optimal or just feasible. This is in one-to-one correspondence
|
|
with a CpModelProto::variables repeated field and list the values of all
|
|
the variables.
|
|
</pre>
|
|
|
|
<code>repeated int64 solution = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index to set the value at.</dd>
|
|
<dd><code>value</code> - The solution to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addSolution(long)">
|
|
<h3>addSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addSolution</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><pre>
|
|
A feasible solution to the given problem. Depending on the returned status
|
|
it may be optimal or just feasible. This is in one-to-one correspondence
|
|
with a CpModelProto::variables repeated field and list the values of all
|
|
the variables.
|
|
</pre>
|
|
|
|
<code>repeated int64 solution = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The solution to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAllSolution(java.lang.Iterable)">
|
|
<h3>addAllSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addAllSolution</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>> values)</span></div>
|
|
<div class="block"><pre>
|
|
A feasible solution to the given problem. Depending on the returned status
|
|
it may be optimal or just feasible. This is in one-to-one correspondence
|
|
with a CpModelProto::variables repeated field and list the values of all
|
|
the variables.
|
|
</pre>
|
|
|
|
<code>repeated int64 solution = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>values</code> - The solution to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSolution()">
|
|
<h3>clearSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
A feasible solution to the given problem. Depending on the returned status
|
|
it may be optimal or just feasible. This is in one-to-one correspondence
|
|
with a CpModelProto::variables repeated field and list the values of all
|
|
the variables.
|
|
</pre>
|
|
|
|
<code>repeated int64 solution = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getObjectiveValue()">
|
|
<h3>getObjectiveValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getObjectiveValue</span>()</div>
|
|
<div class="block"><pre>
|
|
Only make sense for an optimization problem. The objective value of the
|
|
returned solution if it is non-empty. If there is no solution, then for a
|
|
minimization problem, this will be an upper-bound of the objective of any
|
|
feasible solution, and a lower-bound for a maximization problem.
|
|
</pre>
|
|
|
|
<code>double objective_value = 3;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getObjectiveValue()">getObjectiveValue</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The objectiveValue.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setObjectiveValue(double)">
|
|
<h3>setObjectiveValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setObjectiveValue</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
Only make sense for an optimization problem. The objective value of the
|
|
returned solution if it is non-empty. If there is no solution, then for a
|
|
minimization problem, this will be an upper-bound of the objective of any
|
|
feasible solution, and a lower-bound for a maximization problem.
|
|
</pre>
|
|
|
|
<code>double objective_value = 3;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The objectiveValue to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearObjectiveValue()">
|
|
<h3>clearObjectiveValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearObjectiveValue</span>()</div>
|
|
<div class="block"><pre>
|
|
Only make sense for an optimization problem. The objective value of the
|
|
returned solution if it is non-empty. If there is no solution, then for a
|
|
minimization problem, this will be an upper-bound of the objective of any
|
|
feasible solution, and a lower-bound for a maximization problem.
|
|
</pre>
|
|
|
|
<code>double objective_value = 3;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBestObjectiveBound()">
|
|
<h3>getBestObjectiveBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getBestObjectiveBound</span>()</div>
|
|
<div class="block"><pre>
|
|
Only make sense for an optimization problem. A proven lower-bound on the
|
|
objective for a minimization problem, or a proven upper-bound for a
|
|
maximization problem.
|
|
</pre>
|
|
|
|
<code>double best_objective_bound = 4;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getBestObjectiveBound()">getBestObjectiveBound</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The bestObjectiveBound.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setBestObjectiveBound(double)">
|
|
<h3>setBestObjectiveBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setBestObjectiveBound</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
Only make sense for an optimization problem. A proven lower-bound on the
|
|
objective for a minimization problem, or a proven upper-bound for a
|
|
maximization problem.
|
|
</pre>
|
|
|
|
<code>double best_objective_bound = 4;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The bestObjectiveBound to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearBestObjectiveBound()">
|
|
<h3>clearBestObjectiveBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearBestObjectiveBound</span>()</div>
|
|
<div class="block"><pre>
|
|
Only make sense for an optimization problem. A proven lower-bound on the
|
|
objective for a minimization problem, or a proven upper-bound for a
|
|
maximization problem.
|
|
</pre>
|
|
|
|
<code>double best_objective_bound = 4;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutionsList()">
|
|
<h3>getAdditionalSolutionsList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a>></span> <span class="element-name">getAdditionalSolutionsList</span>()</div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getAdditionalSolutionsList()">getAdditionalSolutionsList</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutionsCount()">
|
|
<h3>getAdditionalSolutionsCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getAdditionalSolutionsCount</span>()</div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getAdditionalSolutionsCount()">getAdditionalSolutionsCount</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutions(int)">
|
|
<h3>getAdditionalSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a></span> <span class="element-name">getAdditionalSolutions</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getAdditionalSolutions(int)">getAdditionalSolutions</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAdditionalSolutions(int,com.google.ortools.sat.CpSolverSolution)">
|
|
<h3>setAdditionalSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setAdditionalSolutions</span><wbr><span class="parameters">(int index,
|
|
<a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAdditionalSolutions(int,com.google.ortools.sat.CpSolverSolution.Builder)">
|
|
<h3>setAdditionalSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setAdditionalSolutions</span><wbr><span class="parameters">(int index,
|
|
<a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a> builderForValue)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAdditionalSolutions(com.google.ortools.sat.CpSolverSolution)">
|
|
<h3>addAdditionalSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addAdditionalSolutions</span><wbr><span class="parameters">(<a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAdditionalSolutions(int,com.google.ortools.sat.CpSolverSolution)">
|
|
<h3>addAdditionalSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addAdditionalSolutions</span><wbr><span class="parameters">(int index,
|
|
<a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAdditionalSolutions(com.google.ortools.sat.CpSolverSolution.Builder)">
|
|
<h3>addAdditionalSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addAdditionalSolutions</span><wbr><span class="parameters">(<a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a> builderForValue)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAdditionalSolutions(int,com.google.ortools.sat.CpSolverSolution.Builder)">
|
|
<h3>addAdditionalSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addAdditionalSolutions</span><wbr><span class="parameters">(int index,
|
|
<a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a> builderForValue)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAllAdditionalSolutions(java.lang.Iterable)">
|
|
<h3>addAllAdditionalSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addAllAdditionalSolutions</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a>> values)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAdditionalSolutions()">
|
|
<h3>clearAdditionalSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearAdditionalSolutions</span>()</div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="removeAdditionalSolutions(int)">
|
|
<h3>removeAdditionalSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">removeAdditionalSolutions</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutionsBuilder(int)">
|
|
<h3>getAdditionalSolutionsBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a></span> <span class="element-name">getAdditionalSolutionsBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutionsOrBuilder(int)">
|
|
<h3>getAdditionalSolutionsOrBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverSolutionOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverSolutionOrBuilder</a></span> <span class="element-name">getAdditionalSolutionsOrBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getAdditionalSolutionsOrBuilder(int)">getAdditionalSolutionsOrBuilder</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutionsOrBuilderList()">
|
|
<h3>getAdditionalSolutionsOrBuilderList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="CpSolverSolutionOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverSolutionOrBuilder</a>></span> <span class="element-name">getAdditionalSolutionsOrBuilderList</span>()</div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getAdditionalSolutionsOrBuilderList()">getAdditionalSolutionsOrBuilderList</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAdditionalSolutionsBuilder()">
|
|
<h3>addAdditionalSolutionsBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a></span> <span class="element-name">addAdditionalSolutionsBuilder</span>()</div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAdditionalSolutionsBuilder(int)">
|
|
<h3>addAdditionalSolutionsBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a></span> <span class="element-name">addAdditionalSolutionsBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutionsBuilderList()">
|
|
<h3>getAdditionalSolutionsBuilderList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="CpSolverSolution.Builder.html" title="class in com.google.ortools.sat">CpSolverSolution.Builder</a>></span> <span class="element-name">getAdditionalSolutionsBuilderList</span>()</div>
|
|
<div class="block"><pre>
|
|
If the parameter fill_additional_solutions_in_response is set, then we
|
|
copy all the solutions from our internal solution pool here.
|
|
Note that the one returned in the solution field will likely appear here
|
|
too. Do not rely on the solutions order as it depends on our internal
|
|
representation (after postsolve).
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.CpSolverSolution additional_solutions = 27;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariablesList()">
|
|
<h3>getTightenedVariablesList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>></span> <span class="element-name">getTightenedVariablesList</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getTightenedVariablesList()">getTightenedVariablesList</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariablesCount()">
|
|
<h3>getTightenedVariablesCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getTightenedVariablesCount</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getTightenedVariablesCount()">getTightenedVariablesCount</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariables(int)">
|
|
<h3>getTightenedVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a></span> <span class="element-name">getTightenedVariables</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getTightenedVariables(int)">getTightenedVariables</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setTightenedVariables(int,com.google.ortools.sat.IntegerVariableProto)">
|
|
<h3>setTightenedVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setTightenedVariables</span><wbr><span class="parameters">(int index,
|
|
<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setTightenedVariables(int,com.google.ortools.sat.IntegerVariableProto.Builder)">
|
|
<h3>setTightenedVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setTightenedVariables</span><wbr><span class="parameters">(int index,
|
|
<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a> builderForValue)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addTightenedVariables(com.google.ortools.sat.IntegerVariableProto)">
|
|
<h3>addTightenedVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addTightenedVariables</span><wbr><span class="parameters">(<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addTightenedVariables(int,com.google.ortools.sat.IntegerVariableProto)">
|
|
<h3>addTightenedVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addTightenedVariables</span><wbr><span class="parameters">(int index,
|
|
<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addTightenedVariables(com.google.ortools.sat.IntegerVariableProto.Builder)">
|
|
<h3>addTightenedVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addTightenedVariables</span><wbr><span class="parameters">(<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a> builderForValue)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addTightenedVariables(int,com.google.ortools.sat.IntegerVariableProto.Builder)">
|
|
<h3>addTightenedVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addTightenedVariables</span><wbr><span class="parameters">(int index,
|
|
<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a> builderForValue)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAllTightenedVariables(java.lang.Iterable)">
|
|
<h3>addAllTightenedVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addAllTightenedVariables</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>> values)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearTightenedVariables()">
|
|
<h3>clearTightenedVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearTightenedVariables</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="removeTightenedVariables(int)">
|
|
<h3>removeTightenedVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">removeTightenedVariables</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariablesBuilder(int)">
|
|
<h3>getTightenedVariablesBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a></span> <span class="element-name">getTightenedVariablesBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariablesOrBuilder(int)">
|
|
<h3>getTightenedVariablesOrBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="IntegerVariableProtoOrBuilder.html" title="interface in com.google.ortools.sat">IntegerVariableProtoOrBuilder</a></span> <span class="element-name">getTightenedVariablesOrBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getTightenedVariablesOrBuilder(int)">getTightenedVariablesOrBuilder</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariablesOrBuilderList()">
|
|
<h3>getTightenedVariablesOrBuilderList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="IntegerVariableProtoOrBuilder.html" title="interface in com.google.ortools.sat">IntegerVariableProtoOrBuilder</a>></span> <span class="element-name">getTightenedVariablesOrBuilderList</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getTightenedVariablesOrBuilderList()">getTightenedVariablesOrBuilderList</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addTightenedVariablesBuilder()">
|
|
<h3>addTightenedVariablesBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a></span> <span class="element-name">addTightenedVariablesBuilder</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addTightenedVariablesBuilder(int)">
|
|
<h3>addTightenedVariablesBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a></span> <span class="element-name">addTightenedVariablesBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariablesBuilderList()">
|
|
<h3>getTightenedVariablesBuilderList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a>></span> <span class="element-name">getTightenedVariablesBuilderList</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
If the option fill_tightened_domains_in_response is set, then this field
|
|
will be a copy of the CpModelProto.variables where each domain has been
|
|
reduced using the information the solver was able to derive. Note that this
|
|
is only filled with the info derived during a normal search and we do not
|
|
have any dedicated algorithm to improve it.
|
|
If the problem is a feasibility problem, then these bounds will be valid
|
|
for any feasible solution. If the problem is an optimization problem, then
|
|
these bounds will only be valid for any OPTIMAL solutions, it can exclude
|
|
sub-optimal feasible ones.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto tightened_variables = 21;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSufficientAssumptionsForInfeasibilityList()">
|
|
<h3>getSufficientAssumptionsForInfeasibilityList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>></span> <span class="element-name">getSufficientAssumptionsForInfeasibilityList</span>()</div>
|
|
<div class="block"><pre>
|
|
A subset of the model "assumptions" field. This will only be filled if the
|
|
status is INFEASIBLE. This subset of assumption will be enough to still get
|
|
an infeasible problem.
|
|
This is related to what is called the irreducible inconsistent subsystem or
|
|
IIS. Except one is only concerned by the provided assumptions. There is
|
|
also no guarantee that we return an irreducible (aka minimal subset).
|
|
However, this is based on SAT explanation and there is a good chance it is
|
|
not too large.
|
|
If you really want a minimal subset, a possible way to get one is by
|
|
changing your model to minimize the number of assumptions at false, but
|
|
this is likely an harder problem to solve.
|
|
Important: Currently, this is minimized only in single-thread and if the
|
|
problem is not an optimization problem, otherwise, it will always include
|
|
all the assumptions.
|
|
TODO(user): Allows for returning multiple core at once.
|
|
</pre>
|
|
|
|
<code>repeated int32 sufficient_assumptions_for_infeasibility = 23;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getSufficientAssumptionsForInfeasibilityList()">getSufficientAssumptionsForInfeasibilityList</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A list containing the sufficientAssumptionsForInfeasibility.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSufficientAssumptionsForInfeasibilityCount()">
|
|
<h3>getSufficientAssumptionsForInfeasibilityCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getSufficientAssumptionsForInfeasibilityCount</span>()</div>
|
|
<div class="block"><pre>
|
|
A subset of the model "assumptions" field. This will only be filled if the
|
|
status is INFEASIBLE. This subset of assumption will be enough to still get
|
|
an infeasible problem.
|
|
This is related to what is called the irreducible inconsistent subsystem or
|
|
IIS. Except one is only concerned by the provided assumptions. There is
|
|
also no guarantee that we return an irreducible (aka minimal subset).
|
|
However, this is based on SAT explanation and there is a good chance it is
|
|
not too large.
|
|
If you really want a minimal subset, a possible way to get one is by
|
|
changing your model to minimize the number of assumptions at false, but
|
|
this is likely an harder problem to solve.
|
|
Important: Currently, this is minimized only in single-thread and if the
|
|
problem is not an optimization problem, otherwise, it will always include
|
|
all the assumptions.
|
|
TODO(user): Allows for returning multiple core at once.
|
|
</pre>
|
|
|
|
<code>repeated int32 sufficient_assumptions_for_infeasibility = 23;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getSufficientAssumptionsForInfeasibilityCount()">getSufficientAssumptionsForInfeasibilityCount</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The count of sufficientAssumptionsForInfeasibility.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSufficientAssumptionsForInfeasibility(int)">
|
|
<h3>getSufficientAssumptionsForInfeasibility</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getSufficientAssumptionsForInfeasibility</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
A subset of the model "assumptions" field. This will only be filled if the
|
|
status is INFEASIBLE. This subset of assumption will be enough to still get
|
|
an infeasible problem.
|
|
This is related to what is called the irreducible inconsistent subsystem or
|
|
IIS. Except one is only concerned by the provided assumptions. There is
|
|
also no guarantee that we return an irreducible (aka minimal subset).
|
|
However, this is based on SAT explanation and there is a good chance it is
|
|
not too large.
|
|
If you really want a minimal subset, a possible way to get one is by
|
|
changing your model to minimize the number of assumptions at false, but
|
|
this is likely an harder problem to solve.
|
|
Important: Currently, this is minimized only in single-thread and if the
|
|
problem is not an optimization problem, otherwise, it will always include
|
|
all the assumptions.
|
|
TODO(user): Allows for returning multiple core at once.
|
|
</pre>
|
|
|
|
<code>repeated int32 sufficient_assumptions_for_infeasibility = 23;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getSufficientAssumptionsForInfeasibility(int)">getSufficientAssumptionsForInfeasibility</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index of the element to return.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The sufficientAssumptionsForInfeasibility at the given index.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSufficientAssumptionsForInfeasibility(int,int)">
|
|
<h3>setSufficientAssumptionsForInfeasibility</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setSufficientAssumptionsForInfeasibility</span><wbr><span class="parameters">(int index,
|
|
int value)</span></div>
|
|
<div class="block"><pre>
|
|
A subset of the model "assumptions" field. This will only be filled if the
|
|
status is INFEASIBLE. This subset of assumption will be enough to still get
|
|
an infeasible problem.
|
|
This is related to what is called the irreducible inconsistent subsystem or
|
|
IIS. Except one is only concerned by the provided assumptions. There is
|
|
also no guarantee that we return an irreducible (aka minimal subset).
|
|
However, this is based on SAT explanation and there is a good chance it is
|
|
not too large.
|
|
If you really want a minimal subset, a possible way to get one is by
|
|
changing your model to minimize the number of assumptions at false, but
|
|
this is likely an harder problem to solve.
|
|
Important: Currently, this is minimized only in single-thread and if the
|
|
problem is not an optimization problem, otherwise, it will always include
|
|
all the assumptions.
|
|
TODO(user): Allows for returning multiple core at once.
|
|
</pre>
|
|
|
|
<code>repeated int32 sufficient_assumptions_for_infeasibility = 23;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index to set the value at.</dd>
|
|
<dd><code>value</code> - The sufficientAssumptionsForInfeasibility to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addSufficientAssumptionsForInfeasibility(int)">
|
|
<h3>addSufficientAssumptionsForInfeasibility</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addSufficientAssumptionsForInfeasibility</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
A subset of the model "assumptions" field. This will only be filled if the
|
|
status is INFEASIBLE. This subset of assumption will be enough to still get
|
|
an infeasible problem.
|
|
This is related to what is called the irreducible inconsistent subsystem or
|
|
IIS. Except one is only concerned by the provided assumptions. There is
|
|
also no guarantee that we return an irreducible (aka minimal subset).
|
|
However, this is based on SAT explanation and there is a good chance it is
|
|
not too large.
|
|
If you really want a minimal subset, a possible way to get one is by
|
|
changing your model to minimize the number of assumptions at false, but
|
|
this is likely an harder problem to solve.
|
|
Important: Currently, this is minimized only in single-thread and if the
|
|
problem is not an optimization problem, otherwise, it will always include
|
|
all the assumptions.
|
|
TODO(user): Allows for returning multiple core at once.
|
|
</pre>
|
|
|
|
<code>repeated int32 sufficient_assumptions_for_infeasibility = 23;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The sufficientAssumptionsForInfeasibility to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAllSufficientAssumptionsForInfeasibility(java.lang.Iterable)">
|
|
<h3>addAllSufficientAssumptionsForInfeasibility</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">addAllSufficientAssumptionsForInfeasibility</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>> values)</span></div>
|
|
<div class="block"><pre>
|
|
A subset of the model "assumptions" field. This will only be filled if the
|
|
status is INFEASIBLE. This subset of assumption will be enough to still get
|
|
an infeasible problem.
|
|
This is related to what is called the irreducible inconsistent subsystem or
|
|
IIS. Except one is only concerned by the provided assumptions. There is
|
|
also no guarantee that we return an irreducible (aka minimal subset).
|
|
However, this is based on SAT explanation and there is a good chance it is
|
|
not too large.
|
|
If you really want a minimal subset, a possible way to get one is by
|
|
changing your model to minimize the number of assumptions at false, but
|
|
this is likely an harder problem to solve.
|
|
Important: Currently, this is minimized only in single-thread and if the
|
|
problem is not an optimization problem, otherwise, it will always include
|
|
all the assumptions.
|
|
TODO(user): Allows for returning multiple core at once.
|
|
</pre>
|
|
|
|
<code>repeated int32 sufficient_assumptions_for_infeasibility = 23;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>values</code> - The sufficientAssumptionsForInfeasibility to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSufficientAssumptionsForInfeasibility()">
|
|
<h3>clearSufficientAssumptionsForInfeasibility</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearSufficientAssumptionsForInfeasibility</span>()</div>
|
|
<div class="block"><pre>
|
|
A subset of the model "assumptions" field. This will only be filled if the
|
|
status is INFEASIBLE. This subset of assumption will be enough to still get
|
|
an infeasible problem.
|
|
This is related to what is called the irreducible inconsistent subsystem or
|
|
IIS. Except one is only concerned by the provided assumptions. There is
|
|
also no guarantee that we return an irreducible (aka minimal subset).
|
|
However, this is based on SAT explanation and there is a good chance it is
|
|
not too large.
|
|
If you really want a minimal subset, a possible way to get one is by
|
|
changing your model to minimize the number of assumptions at false, but
|
|
this is likely an harder problem to solve.
|
|
Important: Currently, this is minimized only in single-thread and if the
|
|
problem is not an optimization problem, otherwise, it will always include
|
|
all the assumptions.
|
|
TODO(user): Allows for returning multiple core at once.
|
|
</pre>
|
|
|
|
<code>repeated int32 sufficient_assumptions_for_infeasibility = 23;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasIntegerObjective()">
|
|
<h3>hasIntegerObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasIntegerObjective</span>()</div>
|
|
<div class="block"><pre>
|
|
Contains the integer objective optimized internally. This is only filled if
|
|
the problem had a floating point objective, and on the final response, not
|
|
the ones given to callbacks.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto integer_objective = 28;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#hasIntegerObjective()">hasIntegerObjective</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the integerObjective field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getIntegerObjective()">
|
|
<h3>getIntegerObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a></span> <span class="element-name">getIntegerObjective</span>()</div>
|
|
<div class="block"><pre>
|
|
Contains the integer objective optimized internally. This is only filled if
|
|
the problem had a floating point objective, and on the final response, not
|
|
the ones given to callbacks.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto integer_objective = 28;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getIntegerObjective()">getIntegerObjective</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The integerObjective.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setIntegerObjective(com.google.ortools.sat.CpObjectiveProto)">
|
|
<h3>setIntegerObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setIntegerObjective</span><wbr><span class="parameters">(<a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
Contains the integer objective optimized internally. This is only filled if
|
|
the problem had a floating point objective, and on the final response, not
|
|
the ones given to callbacks.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto integer_objective = 28;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setIntegerObjective(com.google.ortools.sat.CpObjectiveProto.Builder)">
|
|
<h3>setIntegerObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setIntegerObjective</span><wbr><span class="parameters">(<a href="CpObjectiveProto.Builder.html" title="class in com.google.ortools.sat">CpObjectiveProto.Builder</a> builderForValue)</span></div>
|
|
<div class="block"><pre>
|
|
Contains the integer objective optimized internally. This is only filled if
|
|
the problem had a floating point objective, and on the final response, not
|
|
the ones given to callbacks.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto integer_objective = 28;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="mergeIntegerObjective(com.google.ortools.sat.CpObjectiveProto)">
|
|
<h3>mergeIntegerObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">mergeIntegerObjective</span><wbr><span class="parameters">(<a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
Contains the integer objective optimized internally. This is only filled if
|
|
the problem had a floating point objective, and on the final response, not
|
|
the ones given to callbacks.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto integer_objective = 28;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearIntegerObjective()">
|
|
<h3>clearIntegerObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearIntegerObjective</span>()</div>
|
|
<div class="block"><pre>
|
|
Contains the integer objective optimized internally. This is only filled if
|
|
the problem had a floating point objective, and on the final response, not
|
|
the ones given to callbacks.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto integer_objective = 28;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getIntegerObjectiveBuilder()">
|
|
<h3>getIntegerObjectiveBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpObjectiveProto.Builder.html" title="class in com.google.ortools.sat">CpObjectiveProto.Builder</a></span> <span class="element-name">getIntegerObjectiveBuilder</span>()</div>
|
|
<div class="block"><pre>
|
|
Contains the integer objective optimized internally. This is only filled if
|
|
the problem had a floating point objective, and on the final response, not
|
|
the ones given to callbacks.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto integer_objective = 28;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getIntegerObjectiveOrBuilder()">
|
|
<h3>getIntegerObjectiveOrBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpObjectiveProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpObjectiveProtoOrBuilder</a></span> <span class="element-name">getIntegerObjectiveOrBuilder</span>()</div>
|
|
<div class="block"><pre>
|
|
Contains the integer objective optimized internally. This is only filled if
|
|
the problem had a floating point objective, and on the final response, not
|
|
the ones given to callbacks.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto integer_objective = 28;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getIntegerObjectiveOrBuilder()">getIntegerObjectiveOrBuilder</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getInnerObjectiveLowerBound()">
|
|
<h3>getInnerObjectiveLowerBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getInnerObjectiveLowerBound</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
A lower bound on the inner integer expression of the objective. This is
|
|
either a bound on the expression in the returned integer_objective or on
|
|
the integer expression of the original objective if the problem already has
|
|
an integer objective.
|
|
</pre>
|
|
|
|
<code>int64 inner_objective_lower_bound = 29;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getInnerObjectiveLowerBound()">getInnerObjectiveLowerBound</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The innerObjectiveLowerBound.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setInnerObjectiveLowerBound(long)">
|
|
<h3>setInnerObjectiveLowerBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setInnerObjectiveLowerBound</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
A lower bound on the inner integer expression of the objective. This is
|
|
either a bound on the expression in the returned integer_objective or on
|
|
the integer expression of the original objective if the problem already has
|
|
an integer objective.
|
|
</pre>
|
|
|
|
<code>int64 inner_objective_lower_bound = 29;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The innerObjectiveLowerBound to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearInnerObjectiveLowerBound()">
|
|
<h3>clearInnerObjectiveLowerBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearInnerObjectiveLowerBound</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
A lower bound on the inner integer expression of the objective. This is
|
|
either a bound on the expression in the returned integer_objective or on
|
|
the integer expression of the original objective if the problem already has
|
|
an integer objective.
|
|
</pre>
|
|
|
|
<code>int64 inner_objective_lower_bound = 29;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumBooleans()">
|
|
<h3>getNumBooleans</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getNumBooleans</span>()</div>
|
|
<div class="block"><pre>
|
|
Some statistics about the solve.
|
|
TODO(user): These are broken in multi-thread.
|
|
</pre>
|
|
|
|
<code>int64 num_booleans = 10;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getNumBooleans()">getNumBooleans</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The numBooleans.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNumBooleans(long)">
|
|
<h3>setNumBooleans</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setNumBooleans</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><pre>
|
|
Some statistics about the solve.
|
|
TODO(user): These are broken in multi-thread.
|
|
</pre>
|
|
|
|
<code>int64 num_booleans = 10;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The numBooleans to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNumBooleans()">
|
|
<h3>clearNumBooleans</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearNumBooleans</span>()</div>
|
|
<div class="block"><pre>
|
|
Some statistics about the solve.
|
|
TODO(user): These are broken in multi-thread.
|
|
</pre>
|
|
|
|
<code>int64 num_booleans = 10;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumConflicts()">
|
|
<h3>getNumConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getNumConflicts</span>()</div>
|
|
<div class="block"><code>int64 num_conflicts = 11;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getNumConflicts()">getNumConflicts</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The numConflicts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNumConflicts(long)">
|
|
<h3>setNumConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setNumConflicts</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><code>int64 num_conflicts = 11;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The numConflicts to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNumConflicts()">
|
|
<h3>clearNumConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearNumConflicts</span>()</div>
|
|
<div class="block"><code>int64 num_conflicts = 11;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumBranches()">
|
|
<h3>getNumBranches</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getNumBranches</span>()</div>
|
|
<div class="block"><code>int64 num_branches = 12;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getNumBranches()">getNumBranches</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The numBranches.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNumBranches(long)">
|
|
<h3>setNumBranches</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setNumBranches</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><code>int64 num_branches = 12;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The numBranches to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNumBranches()">
|
|
<h3>clearNumBranches</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearNumBranches</span>()</div>
|
|
<div class="block"><code>int64 num_branches = 12;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumBinaryPropagations()">
|
|
<h3>getNumBinaryPropagations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getNumBinaryPropagations</span>()</div>
|
|
<div class="block"><code>int64 num_binary_propagations = 13;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getNumBinaryPropagations()">getNumBinaryPropagations</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The numBinaryPropagations.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNumBinaryPropagations(long)">
|
|
<h3>setNumBinaryPropagations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setNumBinaryPropagations</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><code>int64 num_binary_propagations = 13;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The numBinaryPropagations to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNumBinaryPropagations()">
|
|
<h3>clearNumBinaryPropagations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearNumBinaryPropagations</span>()</div>
|
|
<div class="block"><code>int64 num_binary_propagations = 13;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumIntegerPropagations()">
|
|
<h3>getNumIntegerPropagations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getNumIntegerPropagations</span>()</div>
|
|
<div class="block"><code>int64 num_integer_propagations = 14;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getNumIntegerPropagations()">getNumIntegerPropagations</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The numIntegerPropagations.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNumIntegerPropagations(long)">
|
|
<h3>setNumIntegerPropagations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setNumIntegerPropagations</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><code>int64 num_integer_propagations = 14;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The numIntegerPropagations to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNumIntegerPropagations()">
|
|
<h3>clearNumIntegerPropagations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearNumIntegerPropagations</span>()</div>
|
|
<div class="block"><code>int64 num_integer_propagations = 14;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumRestarts()">
|
|
<h3>getNumRestarts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getNumRestarts</span>()</div>
|
|
<div class="block"><code>int64 num_restarts = 24;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getNumRestarts()">getNumRestarts</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The numRestarts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNumRestarts(long)">
|
|
<h3>setNumRestarts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setNumRestarts</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><code>int64 num_restarts = 24;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The numRestarts to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNumRestarts()">
|
|
<h3>clearNumRestarts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearNumRestarts</span>()</div>
|
|
<div class="block"><code>int64 num_restarts = 24;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumLpIterations()">
|
|
<h3>getNumLpIterations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getNumLpIterations</span>()</div>
|
|
<div class="block"><code>int64 num_lp_iterations = 25;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getNumLpIterations()">getNumLpIterations</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The numLpIterations.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNumLpIterations(long)">
|
|
<h3>setNumLpIterations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setNumLpIterations</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><code>int64 num_lp_iterations = 25;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The numLpIterations to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNumLpIterations()">
|
|
<h3>clearNumLpIterations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearNumLpIterations</span>()</div>
|
|
<div class="block"><code>int64 num_lp_iterations = 25;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getWallTime()">
|
|
<h3>getWallTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getWallTime</span>()</div>
|
|
<div class="block"><pre>
|
|
The time counted from the beginning of the Solve() call.
|
|
</pre>
|
|
|
|
<code>double wall_time = 15;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getWallTime()">getWallTime</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The wallTime.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setWallTime(double)">
|
|
<h3>setWallTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setWallTime</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
The time counted from the beginning of the Solve() call.
|
|
</pre>
|
|
|
|
<code>double wall_time = 15;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The wallTime to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearWallTime()">
|
|
<h3>clearWallTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearWallTime</span>()</div>
|
|
<div class="block"><pre>
|
|
The time counted from the beginning of the Solve() call.
|
|
</pre>
|
|
|
|
<code>double wall_time = 15;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUserTime()">
|
|
<h3>getUserTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getUserTime</span>()</div>
|
|
<div class="block"><code>double user_time = 16;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getUserTime()">getUserTime</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The userTime.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUserTime(double)">
|
|
<h3>setUserTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setUserTime</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>double user_time = 16;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The userTime to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUserTime()">
|
|
<h3>clearUserTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearUserTime</span>()</div>
|
|
<div class="block"><code>double user_time = 16;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDeterministicTime()">
|
|
<h3>getDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getDeterministicTime</span>()</div>
|
|
<div class="block"><code>double deterministic_time = 17;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getDeterministicTime()">getDeterministicTime</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The deterministicTime.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setDeterministicTime(double)">
|
|
<h3>setDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setDeterministicTime</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>double deterministic_time = 17;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The deterministicTime to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearDeterministicTime()">
|
|
<h3>clearDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearDeterministicTime</span>()</div>
|
|
<div class="block"><code>double deterministic_time = 17;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGapIntegral()">
|
|
<h3>getGapIntegral</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getGapIntegral</span>()</div>
|
|
<div class="block"><pre>
|
|
The integral of log(1 + absolute_objective_gap) over time.
|
|
</pre>
|
|
|
|
<code>double gap_integral = 22;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getGapIntegral()">getGapIntegral</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The gapIntegral.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setGapIntegral(double)">
|
|
<h3>setGapIntegral</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setGapIntegral</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
The integral of log(1 + absolute_objective_gap) over time.
|
|
</pre>
|
|
|
|
<code>double gap_integral = 22;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The gapIntegral to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearGapIntegral()">
|
|
<h3>clearGapIntegral</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearGapIntegral</span>()</div>
|
|
<div class="block"><pre>
|
|
The integral of log(1 + absolute_objective_gap) over time.
|
|
</pre>
|
|
|
|
<code>double gap_integral = 22;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolutionInfo()">
|
|
<h3>getSolutionInfo</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getSolutionInfo</span>()</div>
|
|
<div class="block"><pre>
|
|
Additional information about how the solution was found. It also stores
|
|
model or parameters errors that caused the model to be invalid.
|
|
</pre>
|
|
|
|
<code>string solution_info = 20;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getSolutionInfo()">getSolutionInfo</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The solutionInfo.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolutionInfoBytes()">
|
|
<h3>getSolutionInfoBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.ByteString</span> <span class="element-name">getSolutionInfoBytes</span>()</div>
|
|
<div class="block"><pre>
|
|
Additional information about how the solution was found. It also stores
|
|
model or parameters errors that caused the model to be invalid.
|
|
</pre>
|
|
|
|
<code>string solution_info = 20;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getSolutionInfoBytes()">getSolutionInfoBytes</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The bytes for solutionInfo.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSolutionInfo(java.lang.String)">
|
|
<h3>setSolutionInfo</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setSolutionInfo</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
Additional information about how the solution was found. It also stores
|
|
model or parameters errors that caused the model to be invalid.
|
|
</pre>
|
|
|
|
<code>string solution_info = 20;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The solutionInfo to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSolutionInfo()">
|
|
<h3>clearSolutionInfo</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearSolutionInfo</span>()</div>
|
|
<div class="block"><pre>
|
|
Additional information about how the solution was found. It also stores
|
|
model or parameters errors that caused the model to be invalid.
|
|
</pre>
|
|
|
|
<code>string solution_info = 20;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSolutionInfoBytes(com.google.protobuf.ByteString)">
|
|
<h3>setSolutionInfoBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setSolutionInfoBytes</span><wbr><span class="parameters">(com.google.protobuf.ByteString value)</span></div>
|
|
<div class="block"><pre>
|
|
Additional information about how the solution was found. It also stores
|
|
model or parameters errors that caused the model to be invalid.
|
|
</pre>
|
|
|
|
<code>string solution_info = 20;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The bytes for solutionInfo to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolveLog()">
|
|
<h3>getSolveLog</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getSolveLog</span>()</div>
|
|
<div class="block"><pre>
|
|
The solve log will be filled if the parameter log_to_response is set to
|
|
true.
|
|
</pre>
|
|
|
|
<code>string solve_log = 26;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getSolveLog()">getSolveLog</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The solveLog.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolveLogBytes()">
|
|
<h3>getSolveLogBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.ByteString</span> <span class="element-name">getSolveLogBytes</span>()</div>
|
|
<div class="block"><pre>
|
|
The solve log will be filled if the parameter log_to_response is set to
|
|
true.
|
|
</pre>
|
|
|
|
<code>string solve_log = 26;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpSolverResponseOrBuilder.html#getSolveLogBytes()">getSolveLogBytes</a></code> in interface <code><a href="CpSolverResponseOrBuilder.html" title="interface in com.google.ortools.sat">CpSolverResponseOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The bytes for solveLog.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSolveLog(java.lang.String)">
|
|
<h3>setSolveLog</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setSolveLog</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
The solve log will be filled if the parameter log_to_response is set to
|
|
true.
|
|
</pre>
|
|
|
|
<code>string solve_log = 26;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The solveLog to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSolveLog()">
|
|
<h3>clearSolveLog</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">clearSolveLog</span>()</div>
|
|
<div class="block"><pre>
|
|
The solve log will be filled if the parameter log_to_response is set to
|
|
true.
|
|
</pre>
|
|
|
|
<code>string solve_log = 26;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSolveLogBytes(com.google.protobuf.ByteString)">
|
|
<h3>setSolveLogBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setSolveLogBytes</span><wbr><span class="parameters">(com.google.protobuf.ByteString value)</span></div>
|
|
<div class="block"><pre>
|
|
The solve log will be filled if the parameter log_to_response is set to
|
|
true.
|
|
</pre>
|
|
|
|
<code>string solve_log = 26;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The bytes for solveLog to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUnknownFields(com.google.protobuf.UnknownFieldSet)">
|
|
<h3>setUnknownFields</h3>
|
|
<div class="member-signature"><span class="modifiers">public final</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">setUnknownFields</span><wbr><span class="parameters">(com.google.protobuf.UnknownFieldSet unknownFields)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>setUnknownFields</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>setUnknownFields</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="mergeUnknownFields(com.google.protobuf.UnknownFieldSet)">
|
|
<h3>mergeUnknownFields</h3>
|
|
<div class="member-signature"><span class="modifiers">public final</span> <span class="return-type"><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></span> <span class="element-name">mergeUnknownFields</span><wbr><span class="parameters">(com.google.protobuf.UnknownFieldSet unknownFields)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>mergeUnknownFields</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>mergeUnknownFields</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
</main>
|
|
<footer role="contentinfo">
|
|
<hr>
|
|
<p class="legal-copy"><small>Copyright © 2022. All rights reserved.</small></p>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|