2020-09-01 16:00:33 +02:00
<!-- HTML header for doxygen 1.8.18 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2021-01-26 11:28:50 +01:00
< meta name = "generator" content = "Doxygen 1.9.1" / >
2020-09-01 16:00:33 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > OR-Tools: cp_model.h File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "styleSheet.tmp.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "orLogo.png" / > < / td >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > OR-Tools
2021-04-27 23:00:03 +02:00
  < span id = "projectnumber" > 9.0< / span >
2020-09-01 16:00:33 +02:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2021-01-26 11:28:50 +01:00
<!-- Generated by Doxygen 1.9.1 -->
2020-09-01 16:00:33 +02:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2021-01-26 11:28:50 +01:00
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
2020-09-01 16:00:33 +02:00
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('cp__model_8h.html',''); initResizable(); });
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Classes< / a > |
< a href = "#namespaces" > Namespaces< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > cp_model.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2020-10-09 12:00:09 +02:00
< div class = "textblock" > < p > This file implements a wrapper around the CP-SAT model proto. < / p >
2020-09-01 16:00:33 +02:00
< p > Here is a minimal example that shows how to create a model, solve it, and print out the solution. < / p > < div class = "fragment" > < div class = "line" > CpModelBuilder cp_model;< / div >
< div class = "line" > Domain all_animals(0, 20);< / div >
< div class = "line" > IntVar rabbits = cp_model.NewIntVar(all_animals).WithName(< span class = "stringliteral" > " rabbits" < / span > );< / div >
< div class = "line" > IntVar pheasants = cp_model.NewIntVar(all_animals).WithName(< span class = "stringliteral" > " pheasants" < / span > );< / div >
< div class = "line" > < / div >
2021-04-27 23:00:03 +02:00
< div class = "line" > cp_model.AddEquality(< a class = "code" href = "namespaceoperations__research_1_1math__opt.html#a2d3e7a73de1ae32066be431b5e68f613" > LinearExpr::Sum< / a > ({rabbits, pheasants}), 20);< / div >
2020-09-01 16:00:33 +02:00
< div class = "line" > cp_model.AddEquality(LinearExpr::ScalProd({rabbits, pheasants}, {4, 2}), 56);< / div >
< div class = "line" > < / div >
< div class = "line" > < span class = "keyword" > const< / span > CpSolverResponse < a class = "code" href = "cp__model__solver_8cc.html#abcd33b18ce6d5a90a4ba5c37cfa58829" > response< / a > = < a class = "code" href = "namespaceoperations__research_1_1sat.html#af904018d9a1c9983624b1ce0331f2bf5" > Solve< / a > (cp_model.Build());< / div >
2021-04-27 23:00:03 +02:00
< div class = "line" > < span class = "keywordflow" > if< / span > (< a class = "code" href = "cp__model__solver_8cc.html#abcd33b18ce6d5a90a4ba5c37cfa58829" > response< / a > .status() == < a class = "code" href = "namespaceoperations__research_1_1data_1_1vbp.html#a4604191fbd84a43686f44c25d7bd0161a03f919221217f95d21a593a7120165e1" > CpSolverStatus::FEASIBLE< / a > ) {< / div >
< div class = "line" > < a class = "code" href = "base_2logging_8h.html#accad43a85d781d53381cd53a9894b6ae" > LOG< / a > (< a class = "code" href = "log__severity_8h.html#ab4a2cbab234914b320b7fae11b6e8cb9" > INFO< / a > ) < < < a class = "code" href = "namespaceoperations__research_1_1sat.html#ac2624925d8e44eb29065efd632d49e90" > SolutionIntegerValue< / a > (< a class = "code" href = "cp__model__solver_8cc.html#abcd33b18ce6d5a90a4ba5c37cfa58829" > response< / a > , rabbits)< / div >
< div class = "line" > < < < span class = "stringliteral" > " rabbits, and " < / span > < < < a class = "code" href = "namespaceoperations__research_1_1sat.html#ac2624925d8e44eb29065efd632d49e90" > SolutionIntegerValue< / a > (< a class = "code" href = "cp__model__solver_8cc.html#abcd33b18ce6d5a90a4ba5c37cfa58829" > response< / a > , pheasants)< / div >
2020-09-01 16:00:33 +02:00
< div class = "line" > < < < span class = "stringliteral" > " pheasants." < / span > ;< / div >
< div class = "line" > }< / div >
2021-04-27 23:00:03 +02:00
< div class = "ttc" id = "abase_2logging_8h_html_accad43a85d781d53381cd53a9894b6ae" > < div class = "ttname" > < a href = "base_2logging_8h.html#accad43a85d781d53381cd53a9894b6ae" > LOG< / a > < / div > < div class = "ttdeci" > #define LOG(severity)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "base_2logging_8h_source.html#l00423" > base/logging.h:423< / a > < / div > < / div >
< div class = "ttc" id = "acp__model__solver_8cc_html_abcd33b18ce6d5a90a4ba5c37cfa58829" > < div class = "ttname" > < a href = "cp__model__solver_8cc.html#abcd33b18ce6d5a90a4ba5c37cfa58829" > response< / a > < / div > < div class = "ttdeci" > SharedResponseManager * response< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cp__model__solver_8cc_source.html#l02154" > cp_model_solver.cc:2154< / a > < / div > < / div >
2021-01-26 11:28:50 +01:00
< div class = "ttc" id = "alog__severity_8h_html_ab4a2cbab234914b320b7fae11b6e8cb9" > < div class = "ttname" > < a href = "log__severity_8h.html#ab4a2cbab234914b320b7fae11b6e8cb9" > INFO< / a > < / div > < div class = "ttdeci" > const int INFO< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "log__severity_8h_source.html#l00031" > log_severity.h:31< / a > < / div > < / div >
2021-04-27 23:00:03 +02:00
< div class = "ttc" id = "anamespaceoperations__research_1_1data_1_1vbp_html_a4604191fbd84a43686f44c25d7bd0161a03f919221217f95d21a593a7120165e1" > < div class = "ttname" > < a href = "namespaceoperations__research_1_1data_1_1vbp.html#a4604191fbd84a43686f44c25d7bd0161a03f919221217f95d21a593a7120165e1" > operations_research::data::vbp::FEASIBLE< / a > < / div > < div class = "ttdeci" > @ FEASIBLE< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "vector__bin__packing_8pb_8h_source.html#l00089" > vector_bin_packing.pb.h:89< / a > < / div > < / div >
< div class = "ttc" id = "anamespaceoperations__research_1_1math__opt_html_a2d3e7a73de1ae32066be431b5e68f613" > < div class = "ttname" > < a href = "namespaceoperations__research_1_1math__opt.html#a2d3e7a73de1ae32066be431b5e68f613" > operations_research::math_opt::Sum< / a > < / div > < div class = "ttdeci" > LinearExpression Sum(const Iterable & items)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "variable__and__expressions_8h_source.html#l00929" > variable_and_expressions.h:929< / a > < / div > < / div >
< div class = "ttc" id = "anamespaceoperations__research_1_1sat_html_ac2624925d8e44eb29065efd632d49e90" > < div class = "ttname" > < a href = "namespaceoperations__research_1_1sat.html#ac2624925d8e44eb29065efd632d49e90" > operations_research::sat::SolutionIntegerValue< / a > < / div > < div class = "ttdeci" > int64_t SolutionIntegerValue(const CpSolverResponse & r, const LinearExpr & expr)< / div > < div class = "ttdoc" > Evaluates the value of an linear expression in a solver response.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cp__model_8cc_source.html#l00866" > cp_model.cc:866< / a > < / div > < / div >
< div class = "ttc" id = "anamespaceoperations__research_1_1sat_html_af904018d9a1c9983624b1ce0331f2bf5" > < div class = "ttname" > < a href = "namespaceoperations__research_1_1sat.html#af904018d9a1c9983624b1ce0331f2bf5" > operations_research::sat::Solve< / a > < / div > < div class = "ttdeci" > CpSolverResponse Solve(const CpModelProto & model_proto)< / div > < div class = "ttdoc" > Solves the given CpModelProto and returns an instance of CpSolverResponse.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cp__model__solver_8cc_source.html#l03361" > cp_model_solver.cc:3361< / a > < / div > < / div >
2020-09-01 16:00:33 +02:00
< / div > <!-- fragment -->
< p class = "definition" > Definition in file < a class = "el" href = "cp__model_8h_source.html" > cp_model.h< / a > .< / p >
< / div >
< p > < a href = "cp__model_8h_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Classes< / h2 > < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_bool_var.html" > BoolVar< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > A Boolean variable. < a href = "classoperations__research_1_1sat_1_1_bool_var.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_int_var.html" > IntVar< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > An integer variable. < a href = "classoperations__research_1_1sat_1_1_int_var.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_linear_expr.html" > LinearExpr< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > A dedicated container for linear expressions. < a href = "classoperations__research_1_1sat_1_1_linear_expr.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_interval_var.html" > IntervalVar< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Represents a Interval variable. < a href = "classoperations__research_1_1sat_1_1_interval_var.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_constraint.html" > Constraint< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > A constraint. < a href = "classoperations__research_1_1sat_1_1_constraint.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_circuit_constraint.html" > CircuitConstraint< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specialized circuit constraint. < a href = "classoperations__research_1_1sat_1_1_circuit_constraint.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_multiple_circuit_constraint.html" > MultipleCircuitConstraint< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specialized circuit constraint. < a href = "classoperations__research_1_1sat_1_1_multiple_circuit_constraint.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_table_constraint.html" > TableConstraint< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specialized assignment constraint. < a href = "classoperations__research_1_1sat_1_1_table_constraint.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_reservoir_constraint.html" > ReservoirConstraint< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specialized reservoir constraint. < a href = "classoperations__research_1_1sat_1_1_reservoir_constraint.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_automaton_constraint.html" > AutomatonConstraint< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specialized automaton constraint. < a href = "classoperations__research_1_1sat_1_1_automaton_constraint.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_no_overlap2_d_constraint.html" > NoOverlap2DConstraint< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specialized no_overlap2D constraint. < a href = "classoperations__research_1_1sat_1_1_no_overlap2_d_constraint.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_cumulative_constraint.html" > CumulativeConstraint< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specialized cumulative constraint. < a href = "classoperations__research_1_1sat_1_1_cumulative_constraint.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1sat_1_1_cp_model_builder.html" > CpModelBuilder< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Wrapper class around the cp_model proto. < a href = "classoperations__research_1_1sat_1_1_cp_model_builder.html#details" > More...< / a > < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "namespaces" > < / a >
Namespaces< / h2 > < / td > < / tr >
< tr class = "memitem:namespaceoperations__research" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html" > operations_research< / a > < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "memdesc:namespaceoperations__research" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Collection of objects used to extend the < a class = "el" href = "classoperations__research_1_1_constraint.html" title = "A constraint is the main modeling object." > Constraint< / a > < a class = "el" href = "classoperations__research_1_1_solver.html" title = "Solver Class." > Solver< / a > library. < br / > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:namespaceoperations__research_1_1sat" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html" > operations_research::sat< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a15ca399ada8a279dc92f693ede7e4004" > < td class = "memItemLeft" align = "right" valign = "top" > std::ostream &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a15ca399ada8a279dc92f693ede7e4004" > operator< < < / a > (std::ostream & os, const BoolVar & < a class = "el" href = "sat__solver_8cc.html#a8392bdc4ed570e6a95c7fca35b09f83f" > var< / a > )< / td > < / tr >
< tr class = "separator:a15ca399ada8a279dc92f693ede7e4004" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7ac491fd74967da4f340617ad11677ec" > < td class = "memItemLeft" align = "right" valign = "top" > BoolVar  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a7ac491fd74967da4f340617ad11677ec" > Not< / a > (BoolVar x)< / td > < / tr >
< tr class = "memdesc:a7ac491fd74967da4f340617ad11677ec" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > A convenient wrapper so we can write Not(x) instead of < a class = "el" href = "namespaceoperations__research_1_1sat.html#a7ac491fd74967da4f340617ad11677ec" title = "A convenient wrapper so we can write Not(x) instead of x.Not() which is sometimes clearer." > x.Not()< / a > which is sometimes clearer. < a href = "namespaceoperations__research_1_1sat.html#a7ac491fd74967da4f340617ad11677ec" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a7ac491fd74967da4f340617ad11677ec" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6a3611a7a8f77b0d387269129446af45" > < td class = "memItemLeft" align = "right" valign = "top" > std::ostream &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a6a3611a7a8f77b0d387269129446af45" > operator< < < / a > (std::ostream & os, const IntVar & < a class = "el" href = "sat__solver_8cc.html#a8392bdc4ed570e6a95c7fca35b09f83f" > var< / a > )< / td > < / tr >
< tr class = "separator:a6a3611a7a8f77b0d387269129446af45" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afc3577375a878b5799dacab11aaa4c3d" > < td class = "memItemLeft" align = "right" valign = "top" > std::ostream &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#afc3577375a878b5799dacab11aaa4c3d" > operator< < < / a > (std::ostream & os, const IntervalVar & < a class = "el" href = "sat__solver_8cc.html#a8392bdc4ed570e6a95c7fca35b09f83f" > var< / a > )< / td > < / tr >
< tr class = "separator:afc3577375a878b5799dacab11aaa4c3d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "memitem:ac2624925d8e44eb29065efd632d49e90" > < td class = "memItemLeft" align = "right" valign = "top" > int64_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#ac2624925d8e44eb29065efd632d49e90" > SolutionIntegerValue< / a > (const CpSolverResponse & r, const LinearExpr & expr)< / td > < / tr >
< tr class = "memdesc:ac2624925d8e44eb29065efd632d49e90" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Evaluates the value of an linear expression in a solver response. < a href = "namespaceoperations__research_1_1sat.html#ac2624925d8e44eb29065efd632d49e90" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ac2624925d8e44eb29065efd632d49e90" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae590886bef4574e35a8a1f71515c35a6" > < td class = "memItemLeft" align = "right" valign = "top" > int64_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#ae590886bef4574e35a8a1f71515c35a6" > SolutionIntegerMin< / a > (const CpSolverResponse & r, IntVar x)< / td > < / tr >
< tr class = "memdesc:ae590886bef4574e35a8a1f71515c35a6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns the min of an integer variable in a solution. < a href = "namespaceoperations__research_1_1sat.html#ae590886bef4574e35a8a1f71515c35a6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ae590886bef4574e35a8a1f71515c35a6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a412115557d810f656d0c61a86cc7d179" > < td class = "memItemLeft" align = "right" valign = "top" > int64_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a412115557d810f656d0c61a86cc7d179" > SolutionIntegerMax< / a > (const CpSolverResponse & r, IntVar x)< / td > < / tr >
< tr class = "memdesc:a412115557d810f656d0c61a86cc7d179" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns the max of an integer variable in a solution. < a href = "namespaceoperations__research_1_1sat.html#a412115557d810f656d0c61a86cc7d179" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a412115557d810f656d0c61a86cc7d179" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "memitem:a8391a20c25890ccbf3f5e3982afed236" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a8391a20c25890ccbf3f5e3982afed236" > SolutionBooleanValue< / a > (const CpSolverResponse & r, BoolVar x)< / td > < / tr >
< tr class = "memdesc:a8391a20c25890ccbf3f5e3982afed236" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Evaluates the value of a Boolean literal in a solver response. < a href = "namespaceoperations__research_1_1sat.html#a8391a20c25890ccbf3f5e3982afed236" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a8391a20c25890ccbf3f5e3982afed236" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- HTML footer for doxygen 1.8.18 -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" > < a class = "el" href = "dir_a7cc1eeded8f693d0da6c729bc88c45a.html" > ortools< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_dddac007a45022d9da6ea1dee012c3b9.html" > sat< / a > < / li > < li class = "navelem" > < a class = "el" href = "cp__model_8h.html" > cp_model.h< / a > < / li >
< li class = "footer" > Generated by
< a href = "http://www.doxygen.org/index.html" >
2021-01-26 11:28:50 +01:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.9.1 < / li >
2020-09-01 16:00:33 +02:00
< / ul >
< / div >
< / body >
< / html >