1019 lines
58 KiB
HTML
1019 lines
58 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (17) on Thu Mar 03 21:59:09 CET 2022 -->
|
|
<title>CpSolverResponseOrBuilder (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, interface: CpSolverResponseOrBuilder">
|
|
<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/CpSolverResponseOrBuilder.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="Interface CpSolverResponseOrBuilder" class="title">Interface CpSolverResponseOrBuilder</h1>
|
|
</div>
|
|
<section class="class-description" id="class-description">
|
|
<dl class="notes">
|
|
<dt>All Superinterfaces:</dt>
|
|
<dd><code>com.google.protobuf.MessageLiteOrBuilder</code>, <code>com.google.protobuf.MessageOrBuilder</code></dd>
|
|
</dl>
|
|
<dl class="notes">
|
|
<dt>All Known Implementing Classes:</dt>
|
|
<dd><code><a href="CpSolverResponse.html" title="class in com.google.ortools.sat">CpSolverResponse</a></code>, <code><a href="CpSolverResponse.Builder.html" title="class in com.google.ortools.sat">CpSolverResponse.Builder</a></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">CpSolverResponseOrBuilder</span><span class="extends-implements">
|
|
extends com.google.protobuf.MessageOrBuilder</span></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-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-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract 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-tab3"><code><a href="CpSolverSolution.html" title="class in com.google.ortools.sat">CpSolverSolution</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getAdditionalSolutions(int)" class="member-name-link">getAdditionalSolutions</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getAdditionalSolutionsCount()" class="member-name-link">getAdditionalSolutionsCount</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><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 even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getAdditionalSolutionsList()" class="member-name-link">getAdditionalSolutionsList</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code><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-tab3"><code><a href="#getAdditionalSolutionsOrBuilder(int)" class="member-name-link">getAdditionalSolutionsOrBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><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 even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getAdditionalSolutionsOrBuilderList()" class="member-name-link">getAdditionalSolutionsOrBuilderList</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBestObjectiveBound()" class="member-name-link">getBestObjectiveBound</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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-tab3">
|
|
<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-tab3"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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-tab3">
|
|
<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-tab3"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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-tab3">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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-tab3"><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-tab3">
|
|
<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-tab3"><code><a href="CpObjectiveProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpObjectiveProtoOrBuilder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getIntegerObjectiveOrBuilder()" class="member-name-link">getIntegerObjectiveOrBuilder</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNumBinaryPropagations()" class="member-name-link">getNumBinaryPropagations</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNumBooleans()" class="member-name-link">getNumBooleans</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNumBranches()" class="member-name-link">getNumBranches</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNumConflicts()" class="member-name-link">getNumConflicts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNumIntegerPropagations()" class="member-name-link">getNumIntegerPropagations</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNumLpIterations()" class="member-name-link">getNumLpIterations</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNumRestarts()" class="member-name-link">getNumRestarts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getObjectiveValue()" class="member-name-link">getObjectiveValue</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSolution(int)" class="member-name-link">getSolution</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSolutionCount()" class="member-name-link">getSolutionCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><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-tab3"><code><a href="#getSolutionInfo()" class="member-name-link">getSolutionInfo</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>com.google.protobuf.ByteString</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSolutionInfoBytes()" class="member-name-link">getSolutionInfoBytes</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><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 odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSolutionList()" class="member-name-link">getSolutionList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><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-tab3"><code><a href="#getSolveLog()" class="member-name-link">getSolveLog</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>com.google.protobuf.ByteString</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSolveLogBytes()" class="member-name-link">getSolveLogBytes</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code><a href="CpSolverStatus.html" title="enum in com.google.ortools.sat">CpSolverStatus</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getStatus()" class="member-name-link">getStatus</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getStatusValue()" class="member-name-link">getStatusValue</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSufficientAssumptionsForInfeasibility(int)" class="member-name-link">getSufficientAssumptionsForInfeasibility</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSufficientAssumptionsForInfeasibilityCount()" class="member-name-link">getSufficientAssumptionsForInfeasibilityCount</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><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 even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSufficientAssumptionsForInfeasibilityList()" class="member-name-link">getSufficientAssumptionsForInfeasibilityList</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code><a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTightenedVariables(int)" class="member-name-link">getTightenedVariables</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTightenedVariablesCount()" class="member-name-link">getTightenedVariablesCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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 odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTightenedVariablesList()" class="member-name-link">getTightenedVariablesList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><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-tab3"><code><a href="#getTightenedVariablesOrBuilder(int)" class="member-name-link">getTightenedVariablesOrBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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 odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTightenedVariablesOrBuilderList()" class="member-name-link">getTightenedVariablesOrBuilderList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">
|
|
Advanced usage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getUserTime()" class="member-name-link">getUserTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getWallTime()" class="member-name-link">getWallTime</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<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-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#hasIntegerObjective()" class="member-name-link">hasIntegerObjective</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">
|
|
Contains the integer objective optimized internally.</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.MessageLiteOrBuilder">Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder</h3>
|
|
<code>isInitialized</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, getDefaultInstanceForType, getDescriptorForType, 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="getStatusValue()">
|
|
<h3>getStatusValue</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The enum numeric value on the wire for status.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getStatus()">
|
|
<h3>getStatus</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The status.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolutionList()">
|
|
<h3>getSolutionList</h3>
|
|
<div class="member-signature"><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>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="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>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="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>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="getObjectiveValue()">
|
|
<h3>getObjectiveValue</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The objectiveValue.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBestObjectiveBound()">
|
|
<h3>getBestObjectiveBound</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The bestObjectiveBound.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutionsList()">
|
|
<h3>getAdditionalSolutionsList</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutions(int)">
|
|
<h3>getAdditionalSolutions</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutionsCount()">
|
|
<h3>getAdditionalSolutionsCount</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutionsOrBuilderList()">
|
|
<h3>getAdditionalSolutionsOrBuilderList</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAdditionalSolutionsOrBuilder(int)">
|
|
<h3>getAdditionalSolutionsOrBuilder</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariablesList()">
|
|
<h3>getTightenedVariablesList</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariables(int)">
|
|
<h3>getTightenedVariables</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariablesCount()">
|
|
<h3>getTightenedVariablesCount</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariablesOrBuilderList()">
|
|
<h3>getTightenedVariablesOrBuilderList</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTightenedVariablesOrBuilder(int)">
|
|
<h3>getTightenedVariablesOrBuilder</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSufficientAssumptionsForInfeasibilityList()">
|
|
<h3>getSufficientAssumptionsForInfeasibilityList</h3>
|
|
<div class="member-signature"><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>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="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>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="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>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="hasIntegerObjective()">
|
|
<h3>hasIntegerObjective</h3>
|
|
<div class="member-signature"><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>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="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>Returns:</dt>
|
|
<dd>The integerObjective.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getIntegerObjectiveOrBuilder()">
|
|
<h3>getIntegerObjectiveOrBuilder</h3>
|
|
<div class="member-signature"><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>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getInnerObjectiveLowerBound()">
|
|
<h3>getInnerObjectiveLowerBound</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The innerObjectiveLowerBound.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumBooleans()">
|
|
<h3>getNumBooleans</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The numBooleans.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumConflicts()">
|
|
<h3>getNumConflicts</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The numConflicts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumBranches()">
|
|
<h3>getNumBranches</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The numBranches.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumBinaryPropagations()">
|
|
<h3>getNumBinaryPropagations</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The numBinaryPropagations.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumIntegerPropagations()">
|
|
<h3>getNumIntegerPropagations</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The numIntegerPropagations.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumRestarts()">
|
|
<h3>getNumRestarts</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The numRestarts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumLpIterations()">
|
|
<h3>getNumLpIterations</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The numLpIterations.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getWallTime()">
|
|
<h3>getWallTime</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The wallTime.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUserTime()">
|
|
<h3>getUserTime</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The userTime.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDeterministicTime()">
|
|
<h3>getDeterministicTime</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The deterministicTime.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGapIntegral()">
|
|
<h3>getGapIntegral</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The gapIntegral.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolutionInfo()">
|
|
<h3>getSolutionInfo</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The solutionInfo.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolutionInfoBytes()">
|
|
<h3>getSolutionInfoBytes</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The bytes for solutionInfo.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolveLog()">
|
|
<h3>getSolveLog</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The solveLog.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolveLogBytes()">
|
|
<h3>getSolveLogBytes</h3>
|
|
<div class="member-signature"><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>Returns:</dt>
|
|
<dd>The bytes for solveLog.</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>
|