1604 lines
117 KiB
HTML
1604 lines
117 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (17) on Thu Mar 03 21:59:09 CET 2022 -->
|
|
<title>CpModelProto (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: CpModelProto">
|
|
<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/CpModelProto.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><a href="#nested-class-summary">Nested</a> | </li>
|
|
<li><a href="#field-summary">Field</a> | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method-summary">Method</a></li>
|
|
</ul>
|
|
<ul class="sub-nav-list">
|
|
<li>Detail: </li>
|
|
<li><a href="#field-detail">Field</a> | </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 CpModelProto" class="title">Class CpModelProto</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
|
|
<div class="inheritance">com.google.protobuf.AbstractMessage
|
|
<div class="inheritance">com.google.protobuf.GeneratedMessageV3
|
|
<div class="inheritance">com.google.ortools.sat.CpModelProto</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<section class="class-description" id="class-description">
|
|
<dl class="notes">
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code>, <code>com.google.protobuf.Message</code>, <code>com.google.protobuf.MessageLite</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/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<div class="type-signature"><span class="modifiers">public final class </span><span class="element-name type-name-label">CpModelProto</span>
|
|
<span class="extends-implements">extends com.google.protobuf.GeneratedMessageV3
|
|
implements <a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></span></div>
|
|
<div class="block"><pre>
|
|
A constraint programming problem.
|
|
</pre>
|
|
|
|
Protobuf type <code>operations_research.sat.CpModelProto</code></div>
|
|
<dl class="notes">
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../../../serialized-form.html#com.google.ortools.sat.CpModelProto">Serialized Form</a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
<section class="summary">
|
|
<ul class="summary-list">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<li>
|
|
<section class="nested-class-summary" id="nested-class-summary">
|
|
<h2>Nested Class Summary</h2>
|
|
<div class="caption"><span>Nested Classes</span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Class</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>static final class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="CpModelProto.Builder.html" class="type-name-link" title="class in com.google.ortools.sat">CpModelProto.Builder</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">
|
|
A constraint programming problem.</div>
|
|
</div>
|
|
</div>
|
|
<div class="inherited-list">
|
|
<h2 id="nested-classes-inherited-from-class-com.google.protobuf.GeneratedMessageV3">Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3</h2>
|
|
<code>com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,<wbr>BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,<wbr>BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter</code></div>
|
|
<div class="inherited-list">
|
|
<h2 id="nested-classes-inherited-from-class-com.google.protobuf.AbstractMessageLite">Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite</h2>
|
|
<code>com.google.protobuf.AbstractMessageLite.InternalOneOfEnum</code></div>
|
|
</section>
|
|
</li>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<li>
|
|
<section class="field-summary" id="field-summary">
|
|
<h2>Field Summary</h2>
|
|
<div class="caption"><span>Fields</span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Field</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>static final int</code></div>
|
|
<div class="col-second even-row-color"><code><a href="#ASSUMPTIONS_FIELD_NUMBER" class="member-name-link">ASSUMPTIONS_FIELD_NUMBER</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>static final int</code></div>
|
|
<div class="col-second odd-row-color"><code><a href="#CONSTRAINTS_FIELD_NUMBER" class="member-name-link">CONSTRAINTS_FIELD_NUMBER</a></code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code>static final int</code></div>
|
|
<div class="col-second even-row-color"><code><a href="#FLOATING_POINT_OBJECTIVE_FIELD_NUMBER" class="member-name-link">FLOATING_POINT_OBJECTIVE_FIELD_NUMBER</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>static final int</code></div>
|
|
<div class="col-second odd-row-color"><code><a href="#NAME_FIELD_NUMBER" class="member-name-link">NAME_FIELD_NUMBER</a></code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code>static final int</code></div>
|
|
<div class="col-second even-row-color"><code><a href="#OBJECTIVE_FIELD_NUMBER" class="member-name-link">OBJECTIVE_FIELD_NUMBER</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>static final int</code></div>
|
|
<div class="col-second odd-row-color"><code><a href="#SEARCH_STRATEGY_FIELD_NUMBER" class="member-name-link">SEARCH_STRATEGY_FIELD_NUMBER</a></code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code>static final int</code></div>
|
|
<div class="col-second even-row-color"><code><a href="#SOLUTION_HINT_FIELD_NUMBER" class="member-name-link">SOLUTION_HINT_FIELD_NUMBER</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>static final int</code></div>
|
|
<div class="col-second odd-row-color"><code><a href="#SYMMETRY_FIELD_NUMBER" class="member-name-link">SYMMETRY_FIELD_NUMBER</a></code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code>static final int</code></div>
|
|
<div class="col-second even-row-color"><code><a href="#VARIABLES_FIELD_NUMBER" class="member-name-link">VARIABLES_FIELD_NUMBER</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="inherited-list">
|
|
<h3 id="fields-inherited-from-class-com.google.protobuf.GeneratedMessageV3">Fields inherited from class com.google.protobuf.GeneratedMessageV3</h3>
|
|
<code>alwaysUseFieldBuilders, unknownFields</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="fields-inherited-from-class-com.google.protobuf.AbstractMessage">Fields inherited from class com.google.protobuf.AbstractMessage</h3>
|
|
<code>memoizedSize</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="fields-inherited-from-class-com.google.protobuf.AbstractMessageLite">Fields inherited from class com.google.protobuf.AbstractMessageLite</h3>
|
|
<code>memoizedHashCode</code></div>
|
|
</section>
|
|
</li>
|
|
<!-- ========== 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>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#equals(java.lang.Object)" class="member-name-link">equals</a><wbr>(<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> obj)</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>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAssumptions(int)" class="member-name-link">getAssumptions</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 list of literals.</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="#getAssumptionsCount()" class="member-name-link">getAssumptionsCount</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 list of literals.</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="#getAssumptionsList()" class="member-name-link">getAssumptionsList</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 list of literals.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConstraints(int)" class="member-name-link">getConstraints</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"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></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="#getConstraintsCount()" class="member-name-link">getConstraintsCount</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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></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="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConstraintsList()" class="member-name-link">getConstraintsList</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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConstraintsOrBuilder(int)" class="member-name-link">getConstraintsOrBuilder</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"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></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="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConstraintsOrBuilderList()" class="member-name-link">getConstraintsOrBuilderList</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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getDefaultInstance()" class="member-name-link">getDefaultInstance</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 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="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second even-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 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-tab1 method-summary-table-tab4"><code>static final com.google.protobuf.Descriptors.Descriptor</code></div>
|
|
<div class="col-second odd-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 odd-row-color method-summary-table method-summary-table-tab1 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="FloatObjectiveProto.html" title="class in com.google.ortools.sat">FloatObjectiveProto</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFloatingPointObjective()" class="member-name-link">getFloatingPointObjective</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="FloatObjectiveProtoOrBuilder.html" title="interface in com.google.ortools.sat">FloatObjectiveProtoOrBuilder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFloatingPointObjectiveOrBuilder()" class="member-name-link">getFloatingPointObjectiveOrBuilder</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/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="#getName()" class="member-name-link">getName</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For debug/logging only.</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="#getNameBytes()" class="member-name-link">getNameBytes</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For debug/logging only.</div>
|
|
</div>
|
|
<div class="col-first even-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 even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getObjective()" class="member-name-link">getObjective</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 objective to minimize.</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="#getObjectiveOrBuilder()" class="member-name-link">getObjectiveOrBuilder</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 objective to minimize.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.Parser<<a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getParserForType()" class="member-name-link">getParserForType</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="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchStrategy(int)" class="member-name-link">getSearchStrategy</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">
|
|
Defines the strategy that the solver should follow when the
|
|
search_branching parameter is set to FIXED_SEARCH.</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="#getSearchStrategyCount()" class="member-name-link">getSearchStrategyCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Defines the strategy that the solver should follow when the
|
|
search_branching parameter is set to FIXED_SEARCH.</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="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchStrategyList()" class="member-name-link">getSearchStrategyList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Defines the strategy that the solver should follow when the
|
|
search_branching parameter is set to FIXED_SEARCH.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="DecisionStrategyProtoOrBuilder.html" title="interface in com.google.ortools.sat">DecisionStrategyProtoOrBuilder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchStrategyOrBuilder(int)" class="member-name-link">getSearchStrategyOrBuilder</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">
|
|
Defines the strategy that the solver should follow when the
|
|
search_branching parameter is set to FIXED_SEARCH.</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="DecisionStrategyProtoOrBuilder.html" title="interface in com.google.ortools.sat">DecisionStrategyProtoOrBuilder</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchStrategyOrBuilderList()" class="member-name-link">getSearchStrategyOrBuilderList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Defines the strategy that the solver should follow when the
|
|
search_branching parameter is set to FIXED_SEARCH.</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="#getSerializedSize()" class="member-name-link">getSerializedSize</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="PartialVariableAssignment.html" title="class in com.google.ortools.sat">PartialVariableAssignment</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolutionHint()" class="member-name-link">getSolutionHint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Solution hint.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="PartialVariableAssignmentOrBuilder.html" title="interface in com.google.ortools.sat">PartialVariableAssignmentOrBuilder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolutionHintOrBuilder()" class="member-name-link">getSolutionHintOrBuilder</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Solution hint.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SymmetryProto.html" title="class in com.google.ortools.sat">SymmetryProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSymmetry()" class="member-name-link">getSymmetry</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For now, this is not meant to be filled by a client writing a model, but
|
|
by our preprocessing step.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SymmetryProtoOrBuilder.html" title="interface in com.google.ortools.sat">SymmetryProtoOrBuilder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSymmetryOrBuilder()" class="member-name-link">getSymmetryOrBuilder</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For now, this is not meant to be filled by a client writing a model, but
|
|
by our preprocessing step.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final com.google.protobuf.UnknownFieldSet</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUnknownFields()" class="member-name-link">getUnknownFields</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="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="#getVariables(int)" class="member-name-link">getVariables</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">
|
|
The associated Protos should be referred by their index in these fields.</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="#getVariablesCount()" class="member-name-link">getVariablesCount</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 associated Protos should be referred by their index in these fields.</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="#getVariablesList()" class="member-name-link">getVariablesList</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 associated Protos should be referred by their index in these fields.</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="#getVariablesOrBuilder(int)" class="member-name-link">getVariablesOrBuilder</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">
|
|
The associated Protos should be referred by their index in these fields.</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="#getVariablesOrBuilderList()" class="member-name-link">getVariablesOrBuilderList</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 associated Protos should be referred by their index in these fields.</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="#hasFloatingPointObjective()" class="member-name-link">hasFloatingPointObjective</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>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hashCode()" class="member-name-link">hashCode</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>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasObjective()" class="member-name-link">hasObjective</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 objective to minimize.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasSolutionHint()" class="member-name-link">hasSolutionHint</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Solution hint.</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="#hasSymmetry()" class="member-name-link">hasSymmetry</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For now, this is not meant to be filled by a client writing a model, but
|
|
by our preprocessing step.</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-tab1 method-summary-table-tab4"><code>static <a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#newBuilder()" class="member-name-link">newBuilder</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-tab1 method-summary-table-tab4"><code>static <a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#newBuilder(com.google.ortools.sat.CpModelProto)" class="member-name-link">newBuilder</a><wbr>(<a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a> prototype)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#newBuilderForType()" class="member-name-link">newBuilderForType</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>protected <a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)" class="member-name-link">newBuilderForType</a><wbr>(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)</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>protected <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></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)" class="member-name-link">newInstance</a><wbr>(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)</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-tab1 method-summary-table-tab4"><code>static <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseDelimitedFrom(java.io.InputStream)" class="member-name-link">parseDelimitedFrom</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a> input)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 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 <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseDelimitedFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite)" class="member-name-link">parseDelimitedFrom</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a> input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</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-tab1 method-summary-table-tab4"><code>static <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseFrom(byte%5B%5D)" class="member-name-link">parseFrom</a><wbr>(byte[] data)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 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 <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseFrom(byte%5B%5D,com.google.protobuf.ExtensionRegistryLite)" class="member-name-link">parseFrom</a><wbr>(byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</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-tab1 method-summary-table-tab4"><code>static <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseFrom(com.google.protobuf.ByteString)" class="member-name-link">parseFrom</a><wbr>(com.google.protobuf.ByteString data)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 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 <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseFrom(com.google.protobuf.ByteString,com.google.protobuf.ExtensionRegistryLite)" class="member-name-link">parseFrom</a><wbr>(com.google.protobuf.ByteString data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</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-tab1 method-summary-table-tab4"><code>static <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseFrom(com.google.protobuf.CodedInputStream)" class="member-name-link">parseFrom</a><wbr>(com.google.protobuf.CodedInputStream input)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 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 <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)" class="member-name-link">parseFrom</a><wbr>(com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</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-tab1 method-summary-table-tab4"><code>static <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseFrom(java.io.InputStream)" class="member-name-link">parseFrom</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a> input)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 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 <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite)" class="member-name-link">parseFrom</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a> input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</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-tab1 method-summary-table-tab4"><code>static <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseFrom(java.nio.ByteBuffer)" class="member-name-link">parseFrom</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a> data)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 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 <a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parseFrom(java.nio.ByteBuffer,com.google.protobuf.ExtensionRegistryLite)" class="member-name-link">parseFrom</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a> data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</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-tab1 method-summary-table-tab4"><code>static com.google.protobuf.Parser<<a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#parser()" class="member-name-link">parser</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#toBuilder()" class="member-name-link">toBuilder</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>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#writeTo(com.google.protobuf.CodedOutputStream)" class="member-name-link">writeTo</a><wbr>(com.google.protobuf.CodedOutputStream output)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.GeneratedMessageV3">Methods inherited from class com.google.protobuf.GeneratedMessageV3</h3>
|
|
<code>canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.AbstractMessage">Methods inherited from class com.google.protobuf.AbstractMessage</h3>
|
|
<code>findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.AbstractMessageLite">Methods inherited from class com.google.protobuf.AbstractMessageLite</h3>
|
|
<code>addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo</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#clone()" title="class or interface in java.lang" class="external-link">clone</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#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">Methods inherited from interface com.google.protobuf.MessageLite</h3>
|
|
<code>toByteArray, toByteString, writeDelimitedTo, writeTo</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, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof</code></div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<section class="details">
|
|
<ul class="details-list">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<li>
|
|
<section class="field-details" id="field-detail">
|
|
<h2>Field Details</h2>
|
|
<ul class="member-list">
|
|
<li>
|
|
<section class="detail" id="NAME_FIELD_NUMBER">
|
|
<h3>NAME_FIELD_NUMBER</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">int</span> <span class="element-name">NAME_FIELD_NUMBER</span></div>
|
|
<dl class="notes">
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../../../constant-values.html#com.google.ortools.sat.CpModelProto.NAME_FIELD_NUMBER">Constant Field Values</a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="VARIABLES_FIELD_NUMBER">
|
|
<h3>VARIABLES_FIELD_NUMBER</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">int</span> <span class="element-name">VARIABLES_FIELD_NUMBER</span></div>
|
|
<dl class="notes">
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../../../constant-values.html#com.google.ortools.sat.CpModelProto.VARIABLES_FIELD_NUMBER">Constant Field Values</a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="CONSTRAINTS_FIELD_NUMBER">
|
|
<h3>CONSTRAINTS_FIELD_NUMBER</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">int</span> <span class="element-name">CONSTRAINTS_FIELD_NUMBER</span></div>
|
|
<dl class="notes">
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../../../constant-values.html#com.google.ortools.sat.CpModelProto.CONSTRAINTS_FIELD_NUMBER">Constant Field Values</a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="OBJECTIVE_FIELD_NUMBER">
|
|
<h3>OBJECTIVE_FIELD_NUMBER</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">int</span> <span class="element-name">OBJECTIVE_FIELD_NUMBER</span></div>
|
|
<dl class="notes">
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../../../constant-values.html#com.google.ortools.sat.CpModelProto.OBJECTIVE_FIELD_NUMBER">Constant Field Values</a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="FLOATING_POINT_OBJECTIVE_FIELD_NUMBER">
|
|
<h3>FLOATING_POINT_OBJECTIVE_FIELD_NUMBER</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">int</span> <span class="element-name">FLOATING_POINT_OBJECTIVE_FIELD_NUMBER</span></div>
|
|
<dl class="notes">
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../../../constant-values.html#com.google.ortools.sat.CpModelProto.FLOATING_POINT_OBJECTIVE_FIELD_NUMBER">Constant Field Values</a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="SEARCH_STRATEGY_FIELD_NUMBER">
|
|
<h3>SEARCH_STRATEGY_FIELD_NUMBER</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">int</span> <span class="element-name">SEARCH_STRATEGY_FIELD_NUMBER</span></div>
|
|
<dl class="notes">
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../../../constant-values.html#com.google.ortools.sat.CpModelProto.SEARCH_STRATEGY_FIELD_NUMBER">Constant Field Values</a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="SOLUTION_HINT_FIELD_NUMBER">
|
|
<h3>SOLUTION_HINT_FIELD_NUMBER</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">int</span> <span class="element-name">SOLUTION_HINT_FIELD_NUMBER</span></div>
|
|
<dl class="notes">
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../../../constant-values.html#com.google.ortools.sat.CpModelProto.SOLUTION_HINT_FIELD_NUMBER">Constant Field Values</a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="ASSUMPTIONS_FIELD_NUMBER">
|
|
<h3>ASSUMPTIONS_FIELD_NUMBER</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">int</span> <span class="element-name">ASSUMPTIONS_FIELD_NUMBER</span></div>
|
|
<dl class="notes">
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../../../constant-values.html#com.google.ortools.sat.CpModelProto.ASSUMPTIONS_FIELD_NUMBER">Constant Field Values</a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="SYMMETRY_FIELD_NUMBER">
|
|
<h3>SYMMETRY_FIELD_NUMBER</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">int</span> <span class="element-name">SYMMETRY_FIELD_NUMBER</span></div>
|
|
<dl class="notes">
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../../../constant-values.html#com.google.ortools.sat.CpModelProto.SYMMETRY_FIELD_NUMBER">Constant Field Values</a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<li>
|
|
<section class="method-details" id="method-detail">
|
|
<h2>Method Details</h2>
|
|
<ul class="member-list">
|
|
<li>
|
|
<section class="detail" id="newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)">
|
|
<h3>newInstance</h3>
|
|
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><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></span> <span class="element-name">newInstance</span><wbr><span class="parameters">(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)</span></div>
|
|
<dl class="notes">
|
|
<dt>Overrides:</dt>
|
|
<dd><code>newInstance</code> in class <code>com.google.protobuf.GeneratedMessageV3</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUnknownFields()">
|
|
<h3>getUnknownFields</h3>
|
|
<div class="member-signature"><span class="modifiers">public final</span> <span class="return-type">com.google.protobuf.UnknownFieldSet</span> <span class="element-name">getUnknownFields</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getUnknownFields</code> in interface <code>com.google.protobuf.MessageOrBuilder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>getUnknownFields</code> in class <code>com.google.protobuf.GeneratedMessageV3</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<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</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getName()">
|
|
<h3>getName</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">getName</span>()</div>
|
|
<div class="block"><pre>
|
|
For debug/logging only. Can be empty.
|
|
</pre>
|
|
|
|
<code>string name = 1;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getName()">getName</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The name.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNameBytes()">
|
|
<h3>getNameBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.ByteString</span> <span class="element-name">getNameBytes</span>()</div>
|
|
<div class="block"><pre>
|
|
For debug/logging only. Can be empty.
|
|
</pre>
|
|
|
|
<code>string name = 1;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getNameBytes()">getNameBytes</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The bytes for name.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getVariablesList()">
|
|
<h3>getVariablesList</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">getVariablesList</span>()</div>
|
|
<div class="block"><pre>
|
|
The associated Protos should be referred by their index in these fields.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getVariablesList()">getVariablesList</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getVariablesOrBuilderList()">
|
|
<h3>getVariablesOrBuilderList</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">getVariablesOrBuilderList</span>()</div>
|
|
<div class="block"><pre>
|
|
The associated Protos should be referred by their index in these fields.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getVariablesOrBuilderList()">getVariablesOrBuilderList</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getVariablesCount()">
|
|
<h3>getVariablesCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getVariablesCount</span>()</div>
|
|
<div class="block"><pre>
|
|
The associated Protos should be referred by their index in these fields.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getVariablesCount()">getVariablesCount</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getVariables(int)">
|
|
<h3>getVariables</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">getVariables</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
The associated Protos should be referred by their index in these fields.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getVariables(int)">getVariables</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getVariablesOrBuilder(int)">
|
|
<h3>getVariablesOrBuilder</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">getVariablesOrBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
The associated Protos should be referred by their index in these fields.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getVariablesOrBuilder(int)">getVariablesOrBuilder</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getConstraintsList()">
|
|
<h3>getConstraintsList</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="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>></span> <span class="element-name">getConstraintsList</span>()</div>
|
|
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getConstraintsList()">getConstraintsList</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getConstraintsOrBuilderList()">
|
|
<h3>getConstraintsOrBuilderList</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="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a>></span> <span class="element-name">getConstraintsOrBuilderList</span>()</div>
|
|
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getConstraintsOrBuilderList()">getConstraintsOrBuilderList</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getConstraintsCount()">
|
|
<h3>getConstraintsCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getConstraintsCount</span>()</div>
|
|
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getConstraintsCount()">getConstraintsCount</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getConstraints(int)">
|
|
<h3>getConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></span> <span class="element-name">getConstraints</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getConstraints(int)">getConstraints</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getConstraintsOrBuilder(int)">
|
|
<h3>getConstraintsOrBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></span> <span class="element-name">getConstraintsOrBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getConstraintsOrBuilder(int)">getConstraintsOrBuilder</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasObjective()">
|
|
<h3>hasObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasObjective</span>()</div>
|
|
<div class="block"><pre>
|
|
The objective to minimize. Can be empty for pure decision problems.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#hasObjective()">hasObjective</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the objective field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getObjective()">
|
|
<h3>getObjective</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">getObjective</span>()</div>
|
|
<div class="block"><pre>
|
|
The objective to minimize. Can be empty for pure decision problems.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getObjective()">getObjective</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The objective.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getObjectiveOrBuilder()">
|
|
<h3>getObjectiveOrBuilder</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">getObjectiveOrBuilder</span>()</div>
|
|
<div class="block"><pre>
|
|
The objective to minimize. Can be empty for pure decision problems.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getObjectiveOrBuilder()">getObjectiveOrBuilder</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasFloatingPointObjective()">
|
|
<h3>hasFloatingPointObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasFloatingPointObjective</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
It is invalid to have both an objective and a floating point objective.
|
|
The objective of the model, in floating point format. The solver will
|
|
automatically scale this to integer during expansion and thus convert it to
|
|
a normal CpObjectiveProto. See the mip* parameters to control how this is
|
|
scaled. In most situation the precision will be good enough, but you can
|
|
see the logs to see what are the precision guaranteed when this is
|
|
converted to a fixed point representation.
|
|
Note that even if the precision is bad, the returned objective_value and
|
|
best_objective_bound will be computed correctly. So at the end of the solve
|
|
you can check the gap if you only want precise optimal.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#hasFloatingPointObjective()">hasFloatingPointObjective</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the floatingPointObjective field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getFloatingPointObjective()">
|
|
<h3>getFloatingPointObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="FloatObjectiveProto.html" title="class in com.google.ortools.sat">FloatObjectiveProto</a></span> <span class="element-name">getFloatingPointObjective</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
It is invalid to have both an objective and a floating point objective.
|
|
The objective of the model, in floating point format. The solver will
|
|
automatically scale this to integer during expansion and thus convert it to
|
|
a normal CpObjectiveProto. See the mip* parameters to control how this is
|
|
scaled. In most situation the precision will be good enough, but you can
|
|
see the logs to see what are the precision guaranteed when this is
|
|
converted to a fixed point representation.
|
|
Note that even if the precision is bad, the returned objective_value and
|
|
best_objective_bound will be computed correctly. So at the end of the solve
|
|
you can check the gap if you only want precise optimal.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getFloatingPointObjective()">getFloatingPointObjective</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The floatingPointObjective.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getFloatingPointObjectiveOrBuilder()">
|
|
<h3>getFloatingPointObjectiveOrBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="FloatObjectiveProtoOrBuilder.html" title="interface in com.google.ortools.sat">FloatObjectiveProtoOrBuilder</a></span> <span class="element-name">getFloatingPointObjectiveOrBuilder</span>()</div>
|
|
<div class="block"><pre>
|
|
Advanced usage.
|
|
It is invalid to have both an objective and a floating point objective.
|
|
The objective of the model, in floating point format. The solver will
|
|
automatically scale this to integer during expansion and thus convert it to
|
|
a normal CpObjectiveProto. See the mip* parameters to control how this is
|
|
scaled. In most situation the precision will be good enough, but you can
|
|
see the logs to see what are the precision guaranteed when this is
|
|
converted to a fixed point representation.
|
|
Note that even if the precision is bad, the returned objective_value and
|
|
best_objective_bound will be computed correctly. So at the end of the solve
|
|
you can check the gap if you only want precise optimal.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getFloatingPointObjectiveOrBuilder()">getFloatingPointObjectiveOrBuilder</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSearchStrategyList()">
|
|
<h3>getSearchStrategyList</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="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>></span> <span class="element-name">getSearchStrategyList</span>()</div>
|
|
<div class="block"><pre>
|
|
Defines the strategy that the solver should follow when the
|
|
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
|
|
is also used as a heuristic when we are not in fixed search.
|
|
Advanced Usage: if not all variables appears and the parameter
|
|
"instantiate_all_variables" is set to false, then the solver will not try
|
|
to instantiate the variables that do not appear. Thus, at the end of the
|
|
search, not all variables may be fixed. Currently, we will set them to
|
|
their lower bound in the solution.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getSearchStrategyList()">getSearchStrategyList</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSearchStrategyOrBuilderList()">
|
|
<h3>getSearchStrategyOrBuilderList</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="DecisionStrategyProtoOrBuilder.html" title="interface in com.google.ortools.sat">DecisionStrategyProtoOrBuilder</a>></span> <span class="element-name">getSearchStrategyOrBuilderList</span>()</div>
|
|
<div class="block"><pre>
|
|
Defines the strategy that the solver should follow when the
|
|
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
|
|
is also used as a heuristic when we are not in fixed search.
|
|
Advanced Usage: if not all variables appears and the parameter
|
|
"instantiate_all_variables" is set to false, then the solver will not try
|
|
to instantiate the variables that do not appear. Thus, at the end of the
|
|
search, not all variables may be fixed. Currently, we will set them to
|
|
their lower bound in the solution.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getSearchStrategyOrBuilderList()">getSearchStrategyOrBuilderList</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSearchStrategyCount()">
|
|
<h3>getSearchStrategyCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getSearchStrategyCount</span>()</div>
|
|
<div class="block"><pre>
|
|
Defines the strategy that the solver should follow when the
|
|
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
|
|
is also used as a heuristic when we are not in fixed search.
|
|
Advanced Usage: if not all variables appears and the parameter
|
|
"instantiate_all_variables" is set to false, then the solver will not try
|
|
to instantiate the variables that do not appear. Thus, at the end of the
|
|
search, not all variables may be fixed. Currently, we will set them to
|
|
their lower bound in the solution.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getSearchStrategyCount()">getSearchStrategyCount</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSearchStrategy(int)">
|
|
<h3>getSearchStrategy</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a></span> <span class="element-name">getSearchStrategy</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
Defines the strategy that the solver should follow when the
|
|
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
|
|
is also used as a heuristic when we are not in fixed search.
|
|
Advanced Usage: if not all variables appears and the parameter
|
|
"instantiate_all_variables" is set to false, then the solver will not try
|
|
to instantiate the variables that do not appear. Thus, at the end of the
|
|
search, not all variables may be fixed. Currently, we will set them to
|
|
their lower bound in the solution.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getSearchStrategy(int)">getSearchStrategy</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSearchStrategyOrBuilder(int)">
|
|
<h3>getSearchStrategyOrBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="DecisionStrategyProtoOrBuilder.html" title="interface in com.google.ortools.sat">DecisionStrategyProtoOrBuilder</a></span> <span class="element-name">getSearchStrategyOrBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
Defines the strategy that the solver should follow when the
|
|
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
|
|
is also used as a heuristic when we are not in fixed search.
|
|
Advanced Usage: if not all variables appears and the parameter
|
|
"instantiate_all_variables" is set to false, then the solver will not try
|
|
to instantiate the variables that do not appear. Thus, at the end of the
|
|
search, not all variables may be fixed. Currently, we will set them to
|
|
their lower bound in the solution.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getSearchStrategyOrBuilder(int)">getSearchStrategyOrBuilder</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasSolutionHint()">
|
|
<h3>hasSolutionHint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasSolutionHint</span>()</div>
|
|
<div class="block"><pre>
|
|
Solution hint.
|
|
If a feasible or almost-feasible solution to the problem is already known,
|
|
it may be helpful to pass it to the solver so that it can be used. The
|
|
solver will try to use this information to create its initial feasible
|
|
solution.
|
|
Note that it may not always be faster to give a hint like this to the
|
|
solver. There is also no guarantee that the solver will use this hint or
|
|
try to return a solution "close" to this assignment in case of multiple
|
|
optimal solutions.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#hasSolutionHint()">hasSolutionHint</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the solutionHint field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolutionHint()">
|
|
<h3>getSolutionHint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="PartialVariableAssignment.html" title="class in com.google.ortools.sat">PartialVariableAssignment</a></span> <span class="element-name">getSolutionHint</span>()</div>
|
|
<div class="block"><pre>
|
|
Solution hint.
|
|
If a feasible or almost-feasible solution to the problem is already known,
|
|
it may be helpful to pass it to the solver so that it can be used. The
|
|
solver will try to use this information to create its initial feasible
|
|
solution.
|
|
Note that it may not always be faster to give a hint like this to the
|
|
solver. There is also no guarantee that the solver will use this hint or
|
|
try to return a solution "close" to this assignment in case of multiple
|
|
optimal solutions.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getSolutionHint()">getSolutionHint</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The solutionHint.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolutionHintOrBuilder()">
|
|
<h3>getSolutionHintOrBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="PartialVariableAssignmentOrBuilder.html" title="interface in com.google.ortools.sat">PartialVariableAssignmentOrBuilder</a></span> <span class="element-name">getSolutionHintOrBuilder</span>()</div>
|
|
<div class="block"><pre>
|
|
Solution hint.
|
|
If a feasible or almost-feasible solution to the problem is already known,
|
|
it may be helpful to pass it to the solver so that it can be used. The
|
|
solver will try to use this information to create its initial feasible
|
|
solution.
|
|
Note that it may not always be faster to give a hint like this to the
|
|
solver. There is also no guarantee that the solver will use this hint or
|
|
try to return a solution "close" to this assignment in case of multiple
|
|
optimal solutions.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getSolutionHintOrBuilder()">getSolutionHintOrBuilder</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAssumptionsList()">
|
|
<h3>getAssumptionsList</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">getAssumptionsList</span>()</div>
|
|
<div class="block"><pre>
|
|
A list of literals. The model will be solved assuming all these literals
|
|
are true. Compared to just fixing the domain of these literals, using this
|
|
mechanism is slower but allows in case the model is INFEASIBLE to get a
|
|
potentially small subset of them that can be used to explain the
|
|
infeasibility.
|
|
Think (IIS), except when you are only concerned by the provided
|
|
assumptions. This is powerful as it allows to group a set of logically
|
|
related constraint under only one enforcement literal which can potentially
|
|
give you a good and interpretable explanation for infeasiblity.
|
|
Such infeasibility explanation will be available in the
|
|
sufficient_assumptions_for_infeasibility response field.
|
|
</pre>
|
|
|
|
<code>repeated int32 assumptions = 7;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getAssumptionsList()">getAssumptionsList</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A list containing the assumptions.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAssumptionsCount()">
|
|
<h3>getAssumptionsCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getAssumptionsCount</span>()</div>
|
|
<div class="block"><pre>
|
|
A list of literals. The model will be solved assuming all these literals
|
|
are true. Compared to just fixing the domain of these literals, using this
|
|
mechanism is slower but allows in case the model is INFEASIBLE to get a
|
|
potentially small subset of them that can be used to explain the
|
|
infeasibility.
|
|
Think (IIS), except when you are only concerned by the provided
|
|
assumptions. This is powerful as it allows to group a set of logically
|
|
related constraint under only one enforcement literal which can potentially
|
|
give you a good and interpretable explanation for infeasiblity.
|
|
Such infeasibility explanation will be available in the
|
|
sufficient_assumptions_for_infeasibility response field.
|
|
</pre>
|
|
|
|
<code>repeated int32 assumptions = 7;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getAssumptionsCount()">getAssumptionsCount</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The count of assumptions.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAssumptions(int)">
|
|
<h3>getAssumptions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getAssumptions</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
A list of literals. The model will be solved assuming all these literals
|
|
are true. Compared to just fixing the domain of these literals, using this
|
|
mechanism is slower but allows in case the model is INFEASIBLE to get a
|
|
potentially small subset of them that can be used to explain the
|
|
infeasibility.
|
|
Think (IIS), except when you are only concerned by the provided
|
|
assumptions. This is powerful as it allows to group a set of logically
|
|
related constraint under only one enforcement literal which can potentially
|
|
give you a good and interpretable explanation for infeasiblity.
|
|
Such infeasibility explanation will be available in the
|
|
sufficient_assumptions_for_infeasibility response field.
|
|
</pre>
|
|
|
|
<code>repeated int32 assumptions = 7;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getAssumptions(int)">getAssumptions</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index of the element to return.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The assumptions at the given index.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasSymmetry()">
|
|
<h3>hasSymmetry</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasSymmetry</span>()</div>
|
|
<div class="block"><pre>
|
|
For now, this is not meant to be filled by a client writing a model, but
|
|
by our preprocessing step.
|
|
Information about the symmetries of the feasible solution space.
|
|
These usually leaves the objective invariant.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#hasSymmetry()">hasSymmetry</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the symmetry field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSymmetry()">
|
|
<h3>getSymmetry</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SymmetryProto.html" title="class in com.google.ortools.sat">SymmetryProto</a></span> <span class="element-name">getSymmetry</span>()</div>
|
|
<div class="block"><pre>
|
|
For now, this is not meant to be filled by a client writing a model, but
|
|
by our preprocessing step.
|
|
Information about the symmetries of the feasible solution space.
|
|
These usually leaves the objective invariant.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getSymmetry()">getSymmetry</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The symmetry.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSymmetryOrBuilder()">
|
|
<h3>getSymmetryOrBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SymmetryProtoOrBuilder.html" title="interface in com.google.ortools.sat">SymmetryProtoOrBuilder</a></span> <span class="element-name">getSymmetryOrBuilder</span>()</div>
|
|
<div class="block"><pre>
|
|
For now, this is not meant to be filled by a client writing a model, but
|
|
by our preprocessing step.
|
|
Information about the symmetries of the feasible solution space.
|
|
These usually leaves the objective invariant.
|
|
</pre>
|
|
|
|
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="CpModelProtoOrBuilder.html#getSymmetryOrBuilder()">getSymmetryOrBuilder</a></code> in interface <code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
|
|
</dl>
|
|
</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</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="writeTo(com.google.protobuf.CodedOutputStream)">
|
|
<h3>writeTo</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">writeTo</span><wbr><span class="parameters">(com.google.protobuf.CodedOutputStream output)</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>writeTo</code> in interface <code>com.google.protobuf.MessageLite</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>writeTo</code> in class <code>com.google.protobuf.GeneratedMessageV3</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="getSerializedSize()">
|
|
<h3>getSerializedSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getSerializedSize</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getSerializedSize</code> in interface <code>com.google.protobuf.MessageLite</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>getSerializedSize</code> in class <code>com.google.protobuf.GeneratedMessageV3</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="equals(java.lang.Object)">
|
|
<h3>equals</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">equals</span><wbr><span class="parameters">(<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> obj)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>equals</code> in interface <code>com.google.protobuf.Message</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>equals</code> in class <code>com.google.protobuf.AbstractMessage</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hashCode()">
|
|
<h3>hashCode</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">hashCode</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>hashCode</code> in interface <code>com.google.protobuf.Message</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>hashCode</code> in class <code>com.google.protobuf.AbstractMessage</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="parseFrom(java.nio.ByteBuffer)">
|
|
<h3>parseFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseFrom</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a> data)</span>
|
|
throws <span class="exceptions">com.google.protobuf.InvalidProtocolBufferException</span></div>
|
|
<dl class="notes">
|
|
<dt>Throws:</dt>
|
|
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="parseFrom(java.nio.ByteBuffer,com.google.protobuf.ExtensionRegistryLite)">
|
|
<h3>parseFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseFrom</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a> data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</span>
|
|
throws <span class="exceptions">com.google.protobuf.InvalidProtocolBufferException</span></div>
|
|
<dl class="notes">
|
|
<dt>Throws:</dt>
|
|
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="parseFrom(com.google.protobuf.ByteString)">
|
|
<h3>parseFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseFrom</span><wbr><span class="parameters">(com.google.protobuf.ByteString data)</span>
|
|
throws <span class="exceptions">com.google.protobuf.InvalidProtocolBufferException</span></div>
|
|
<dl class="notes">
|
|
<dt>Throws:</dt>
|
|
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="parseFrom(com.google.protobuf.ByteString,com.google.protobuf.ExtensionRegistryLite)">
|
|
<h3>parseFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseFrom</span><wbr><span class="parameters">(com.google.protobuf.ByteString data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</span>
|
|
throws <span class="exceptions">com.google.protobuf.InvalidProtocolBufferException</span></div>
|
|
<dl class="notes">
|
|
<dt>Throws:</dt>
|
|
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="parseFrom(byte[])">
|
|
<h3>parseFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseFrom</span><wbr><span class="parameters">(byte[] data)</span>
|
|
throws <span class="exceptions">com.google.protobuf.InvalidProtocolBufferException</span></div>
|
|
<dl class="notes">
|
|
<dt>Throws:</dt>
|
|
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="parseFrom(byte[],com.google.protobuf.ExtensionRegistryLite)">
|
|
<h3>parseFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseFrom</span><wbr><span class="parameters">(byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</span>
|
|
throws <span class="exceptions">com.google.protobuf.InvalidProtocolBufferException</span></div>
|
|
<dl class="notes">
|
|
<dt>Throws:</dt>
|
|
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="parseFrom(java.io.InputStream)">
|
|
<h3>parseFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseFrom</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a> input)</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>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="parseFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite)">
|
|
<h3>parseFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseFrom</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a> 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>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="parseDelimitedFrom(java.io.InputStream)">
|
|
<h3>parseDelimitedFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseDelimitedFrom</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a> input)</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>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="parseDelimitedFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite)">
|
|
<h3>parseDelimitedFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseDelimitedFrom</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a> 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>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="parseFrom(com.google.protobuf.CodedInputStream)">
|
|
<h3>parseFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseFrom</span><wbr><span class="parameters">(com.google.protobuf.CodedInputStream input)</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>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="parseFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)">
|
|
<h3>parseFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">parseFrom</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>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="newBuilderForType()">
|
|
<h3>newBuilderForType</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span> <span class="element-name">newBuilderForType</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>newBuilderForType</code> in interface <code>com.google.protobuf.Message</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>newBuilderForType</code> in interface <code>com.google.protobuf.MessageLite</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="newBuilder()">
|
|
<h3>newBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span> <span class="element-name">newBuilder</span>()</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="newBuilder(com.google.ortools.sat.CpModelProto)">
|
|
<h3>newBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span> <span class="element-name">newBuilder</span><wbr><span class="parameters">(<a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a> prototype)</span></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="toBuilder()">
|
|
<h3>toBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span> <span class="element-name">toBuilder</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>toBuilder</code> in interface <code>com.google.protobuf.Message</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>toBuilder</code> in interface <code>com.google.protobuf.MessageLite</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)">
|
|
<h3>newBuilderForType</h3>
|
|
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span> <span class="element-name">newBuilderForType</span><wbr><span class="parameters">(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>newBuilderForType</code> in class <code>com.google.protobuf.GeneratedMessageV3</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDefaultInstance()">
|
|
<h3>getDefaultInstance</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span> <span class="element-name">getDefaultInstance</span>()</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="parser()">
|
|
<h3>parser</h3>
|
|
<div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">com.google.protobuf.Parser<<a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a>></span> <span class="element-name">parser</span>()</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getParserForType()">
|
|
<h3>getParserForType</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.Parser<<a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a>></span> <span class="element-name">getParserForType</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getParserForType</code> in interface <code>com.google.protobuf.Message</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getParserForType</code> in interface <code>com.google.protobuf.MessageLite</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>getParserForType</code> in class <code>com.google.protobuf.GeneratedMessageV3</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="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</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>
|
|
</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>
|