2019-06-13 13:08:49 +02:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<title>OR-Tools</title>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html;"/>
|
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
|
<!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
|
2019-06-20 23:08:48 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="ortools.css" title="default" media="screen,print" />
|
2019-06-13 13:08:49 +02:00
|
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
|
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="banner-container">
|
|
|
|
|
<div id="banner">
|
2020-01-27 13:48:26 +01:00
|
|
|
<span id="sfml">Google OR-Tools 7.5</span>
|
2019-06-13 13:08:49 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2019-08-07 18:01:08 -07:00
|
|
|
<div id="content" style="width: 100%; overflow: hidden;">
|
|
|
|
|
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
|
2019-08-12 09:16:03 -07:00
|
|
|
<h2>C++ Reference</h2>
|
2019-08-07 18:01:08 -07:00
|
|
|
<ul>
|
|
|
|
|
<li><a href="../cpp_algorithms/annotated.html">Algorithms</a></li>
|
2019-08-12 09:16:03 -07:00
|
|
|
<li><a href="../cpp_sat/annotated.html">CP-SAT</a></li>
|
2019-08-07 18:01:08 -07:00
|
|
|
<li><a href="../cpp_graph/annotated.html">Graph</a></li>
|
|
|
|
|
<li><a href="../cpp_routing/annotated.html">Routing</a></li>
|
|
|
|
|
<li><a href="../cpp_linear/annotated.html">Linear solver</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2019-06-13 13:08:49 +02:00
|
|
|
<div id="content">
|
2019-08-07 18:01:08 -07:00
|
|
|
<div align="center">
|
|
|
|
|
<h1 style="color: #145A32;">C++ Reference: CP-SAT</h1>
|
|
|
|
|
</div>
|
2020-04-23 15:34:43 +02:00
|
|
|
<!-- Generated by Doxygen 1.8.16 -->
|
2019-06-13 13:08:49 +02:00
|
|
|
<div id="navrow1" class="tabs">
|
|
|
|
|
<ul class="tablist">
|
|
|
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
|
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
2019-07-15 17:42:24 -07:00
|
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
2019-06-13 13:08:49 +02:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="navrow3" class="tabs2">
|
|
|
|
|
<ul class="tablist">
|
|
|
|
|
<li><a href="functions.html"><span>All</span></a></li>
|
|
|
|
|
<li><a href="functions_func.html"><span>Functions</span></a></li>
|
|
|
|
|
<li class="current"><a href="functions_vars.html"><span>Variables</span></a></li>
|
|
|
|
|
<li><a href="functions_type.html"><span>Typedefs</span></a></li>
|
|
|
|
|
<li><a href="functions_enum.html"><span>Enumerations</span></a></li>
|
|
|
|
|
<li><a href="functions_eval.html"><span>Enumerator</span></a></li>
|
|
|
|
|
<li><a href="functions_rela.html"><span>Related Functions</span></a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="navrow4" class="tabs3">
|
|
|
|
|
<ul class="tablist">
|
2019-08-07 18:01:08 -07:00
|
|
|
<li><a href="#index_c"><span>c</span></a></li>
|
|
|
|
|
<li><a href="#index_d"><span>d</span></a></li>
|
|
|
|
|
<li><a href="#index_e"><span>e</span></a></li>
|
|
|
|
|
<li><a href="#index_f"><span>f</span></a></li>
|
|
|
|
|
<li><a href="#index_k"><span>k</span></a></li>
|
|
|
|
|
<li><a href="#index_o"><span>o</span></a></li>
|
|
|
|
|
<li><a href="#index_p"><span>p</span></a></li>
|
|
|
|
|
<li><a href="#index_s"><span>s</span></a></li>
|
|
|
|
|
<li class="current"><a href="#index_v"><span>v</span></a></li>
|
2019-06-13 13:08:49 +02:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!-- top -->
|
|
|
|
|
<div class="contents">
|
|
|
|
|
 
|
|
|
|
|
|
2019-08-07 18:01:08 -07:00
|
|
|
<h3><a id="index_c"></a>- c -</h3><ul>
|
|
|
|
|
<li>CHOOSE_FIRST
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#ab83a3e23a25337954fce7cc3a86562ad">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>CHOOSE_HIGHEST_MAX
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a165675468f66da39b9d68e02ca51ed21">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>CHOOSE_LOWEST_MIN
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a45d155d600815eb0b81b861c1f022463">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>CHOOSE_MAX_DOMAIN_SIZE
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#ad3038d6f5fd30351932d51fd1c649cc6">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>CHOOSE_MIN_DOMAIN_SIZE
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#aea99e04969f99ec46cfbf1bd78dc1ed5">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3><a id="index_d"></a>- d -</h3><ul>
|
|
|
|
|
<li>DomainReductionStrategy_ARRAYSIZE
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a6ffbee61e6d6118bd6e6e642561eab29">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>DomainReductionStrategy_MAX
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#ac8fb15b20983aede111d61df4f7e59ab">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>DomainReductionStrategy_MIN
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a14c01feb47760b9a29af99df9909479b">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3><a id="index_e"></a>- e -</h3><ul>
|
|
|
|
|
<li>end
|
|
|
|
|
: <a class="el" href="structoperations__research_1_1ClosedInterval.html#a797002572d71cc037b13e7ecaed884a1">ClosedInterval</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3><a id="index_f"></a>- f -</h3><ul>
|
|
|
|
|
<li>field_metadata
|
2020-01-31 17:22:59 +01:00
|
|
|
: <a class="el" href="structTableStruct__ortools__2fsat__2fboolean__5fproblem__2eproto.html#ad113941c4b3e90b40bd45b59bb0e4689">TableStruct_ortools_2fsat_2fboolean_5fproblem_2eproto</a>
|
|
|
|
|
, <a class="el" href="structTableStruct__ortools__2fsat__2fcp__5fmodel__2eproto.html#ad113941c4b3e90b40bd45b59bb0e4689">TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto</a>
|
2019-08-07 18:01:08 -07:00
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3><a id="index_k"></a>- k -</h3><ul>
|
2019-09-03 15:42:34 +02:00
|
|
|
<li>kHistorySize
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1TimeLimit.html#ac62fbbc5383a86a9fe334e3213f6244b">TimeLimit</a>
|
|
|
|
|
</li>
|
2019-08-07 18:01:08 -07:00
|
|
|
<li>kIndexInFileMessages
|
2020-01-31 17:22:59 +01:00
|
|
|
: <a class="el" href="classoperations__research_1_1BooleanAssignment.html#a8473d52a88ddd9d90e879d1716586bee">BooleanAssignment</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1LinearBooleanConstraint.html#a8473d52a88ddd9d90e879d1716586bee">LinearBooleanConstraint</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1LinearBooleanProblem.html#a8473d52a88ddd9d90e879d1716586bee">LinearBooleanProblem</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1LinearObjective.html#a8473d52a88ddd9d90e879d1716586bee">LinearObjective</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1AllDifferentConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">AllDifferentConstraintProto</a>
|
2019-08-07 18:01:08 -07:00
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1AutomatonConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">AutomatonConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1BoolArgumentProto.html#a8473d52a88ddd9d90e879d1716586bee">BoolArgumentProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1CircuitConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">CircuitConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1CircuitCoveringConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">CircuitCoveringConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1ConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">ConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1CpModelProto.html#a8473d52a88ddd9d90e879d1716586bee">CpModelProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1CpObjectiveProto.html#a8473d52a88ddd9d90e879d1716586bee">CpObjectiveProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1CpSolverResponse.html#a8473d52a88ddd9d90e879d1716586bee">CpSolverResponse</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1CumulativeConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">CumulativeConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a8473d52a88ddd9d90e879d1716586bee">DecisionStrategyProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto__AffineTransformation.html#a8473d52a88ddd9d90e879d1716586bee">DecisionStrategyProto_AffineTransformation</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1ElementConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">ElementConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1IntegerArgumentProto.html#a8473d52a88ddd9d90e879d1716586bee">IntegerArgumentProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1IntegerVariableProto.html#a8473d52a88ddd9d90e879d1716586bee">IntegerVariableProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1IntervalConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">IntervalConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1InverseConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">InverseConstraintProto</a>
|
2020-01-27 13:48:26 +01:00
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1LinearArgumentProto.html#a8473d52a88ddd9d90e879d1716586bee">LinearArgumentProto</a>
|
2019-08-07 18:01:08 -07:00
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1LinearConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">LinearConstraintProto</a>
|
2020-01-27 13:48:26 +01:00
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1LinearExpressionProto.html#a8473d52a88ddd9d90e879d1716586bee">LinearExpressionProto</a>
|
2019-08-07 18:01:08 -07:00
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1NoOverlap2DConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">NoOverlap2DConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1NoOverlapConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">NoOverlapConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1PartialVariableAssignment.html#a8473d52a88ddd9d90e879d1716586bee">PartialVariableAssignment</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1ReservoirConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">ReservoirConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1RoutesConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">RoutesConstraintProto</a>
|
|
|
|
|
, <a class="el" href="classoperations__research_1_1sat_1_1TableConstraintProto.html#a8473d52a88ddd9d90e879d1716586bee">TableConstraintProto</a>
|
|
|
|
|
</li>
|
2019-09-03 15:42:34 +02:00
|
|
|
<li>kSafetyBufferSeconds
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1TimeLimit.html#a1837453fa693143e6ec334701557a448">TimeLimit</a>
|
|
|
|
|
</li>
|
2019-08-07 18:01:08 -07:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3><a id="index_o"></a>- o -</h3><ul>
|
|
|
|
|
<li>offsets
|
2020-01-31 17:22:59 +01:00
|
|
|
: <a class="el" href="structTableStruct__ortools__2fsat__2fboolean__5fproblem__2eproto.html#a345548bf52cc46cc10c6830c03d541ff">TableStruct_ortools_2fsat_2fboolean_5fproblem_2eproto</a>
|
|
|
|
|
, <a class="el" href="structTableStruct__ortools__2fsat__2fcp__5fmodel__2eproto.html#a345548bf52cc46cc10c6830c03d541ff">TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto</a>
|
2019-08-07 18:01:08 -07:00
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3><a id="index_p"></a>- p -</h3><ul>
|
|
|
|
|
<li>proto_
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1Constraint.html#a9ee30a925ae7127a28ae72965c8654d8">Constraint</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3><a id="index_s"></a>- s -</h3><ul>
|
|
|
|
|
<li>SELECT_LOWER_HALF
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a589e76667051686a2283e65f3e60e0e7">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>SELECT_MAX_VALUE
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#ae3acd86d1b2b05ac02ecf83435960187">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
2019-11-14 13:52:51 -08:00
|
|
|
<li>SELECT_MEDIAN_VALUE
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a22463fe396c2544b83d01af86055398f">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
2019-08-07 18:01:08 -07:00
|
|
|
<li>SELECT_MIN_VALUE
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a0b7a68283890b7485208eb4c6be21f17">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>SELECT_UPPER_HALF
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a7a1e59a703c49b1ab7de34b4f7798181">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>serialization_table
|
2020-01-31 17:22:59 +01:00
|
|
|
: <a class="el" href="structTableStruct__ortools__2fsat__2fboolean__5fproblem__2eproto.html#a807eed5c615caffbff3960079ef76239">TableStruct_ortools_2fsat_2fboolean_5fproblem_2eproto</a>
|
|
|
|
|
, <a class="el" href="structTableStruct__ortools__2fsat__2fcp__5fmodel__2eproto.html#a807eed5c615caffbff3960079ef76239">TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto</a>
|
2019-08-07 18:01:08 -07:00
|
|
|
</li>
|
|
|
|
|
<li>start
|
|
|
|
|
: <a class="el" href="structoperations__research_1_1ClosedInterval.html#aef464a1de282efb030bd7e4148dcd1e4">ClosedInterval</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3><a id="index_v"></a>- v -</h3><ul>
|
|
|
|
|
<li>VariableSelectionStrategy_ARRAYSIZE
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a1763fdf689a62e2dcf681d37148cbaaf">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>VariableSelectionStrategy_MAX
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#a4046ecd0f13ace5a1f0fb2533b6de142">DecisionStrategyProto</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>VariableSelectionStrategy_MIN
|
|
|
|
|
: <a class="el" href="classoperations__research_1_1sat_1_1DecisionStrategyProto.html#ab2332b9ff6ffe5993bccfe3ace0d921d">DecisionStrategyProto</a>
|
2019-06-13 13:08:49 +02:00
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div><!-- contents -->
|
2019-08-07 18:01:08 -07:00
|
|
|
</div>
|
2019-06-13 13:08:49 +02:00
|
|
|
</div>
|
|
|
|
|
<div id="footer-container">
|
|
|
|
|
<div id="footer">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|