<ahref="cp__model__solver_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aid="l00001"name="l00001"></a><spanclass="lineno"> 1</span><spanclass="comment">// Copyright 2010-2021 Google LLC</span></div>
<divclass="line"><aid="l00002"name="l00002"></a><spanclass="lineno"> 2</span><spanclass="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div>
<divclass="line"><aid="l00003"name="l00003"></a><spanclass="lineno"> 3</span><spanclass="comment">// you may not use this file except in compliance with the License.</span></div>
<divclass="line"><aid="l00004"name="l00004"></a><spanclass="lineno"> 4</span><spanclass="comment">// You may obtain a copy of the License at</span></div>
<divclass="line"><aid="l00008"name="l00008"></a><spanclass="lineno"> 8</span><spanclass="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
<divclass="line"><aid="l00009"name="l00009"></a><spanclass="lineno"> 9</span><spanclass="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div>
<divclass="line"><aid="l00010"name="l00010"></a><spanclass="lineno"> 10</span><spanclass="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<divclass="line"><aid="l00011"name="l00011"></a><spanclass="lineno"> 11</span><spanclass="comment">// See the License for the specific language governing permissions and</span></div>
<divclass="line"><aid="l00012"name="l00012"></a><spanclass="lineno"> 12</span><spanclass="comment">// limitations under the License.</span></div>
<divclass="ttc"id="aclassoperations__research_1_1sat_1_1_model_html"><divclass="ttname"><ahref="classoperations__research_1_1sat_1_1_model.html">operations_research::sat::Model</a></div><divclass="ttdoc">Class that owns everything related to a particular optimization model.</div><divclass="ttdef"><b>Definition:</b><ahref="sat_2model_8h_source.html#l00042">sat/model.h:42</a></div></div>
<divclass="ttc"id="anamespaceoperations__research_1_1sat_html_a0a9777d760241f28010442a2c01f45e0"><divclass="ttname"><ahref="namespaceoperations__research_1_1sat.html#a0a9777d760241f28010442a2c01f45e0">operations_research::sat::NewFeasibleSolutionObserver</a></div><divclass="ttdeci">std::function< void(Model *)> NewFeasibleSolutionObserver(const std::function< void(const CpSolverResponse &response)>&observer)</div><divclass="ttdoc">Creates a solution observer with the model with model.Add(NewFeasibleSolutionObserver([](response){....</div><divclass="ttdef"><b>Definition:</b><ahref="cp__model__solver_8cc_source.html#l00774">cp_model_solver.cc:774</a></div></div>
<divclass="ttc"id="anamespaceoperations__research_1_1sat_html_a1684fe34484d78336d3cdac55ec6de57"><divclass="ttname"><ahref="namespaceoperations__research_1_1sat.html#a1684fe34484d78336d3cdac55ec6de57">operations_research::sat::NewSatParameters</a></div><divclass="ttdeci">std::function< SatParameters(Model *)> NewSatParameters(const std::string &params)</div><divclass="ttdoc">Creates parameters for the solver, which you can add to the model with.</div><divclass="ttdef"><b>Definition:</b><ahref="cp__model__solver_8cc_source.html#l00783">cp_model_solver.cc:783</a></div></div>
<divclass="ttc"id="anamespaceoperations__research_1_1sat_html_a1b192124133b53f1445f7f6d4708b332"><divclass="ttname"><ahref="namespaceoperations__research_1_1sat.html#a1b192124133b53f1445f7f6d4708b332">operations_research::sat::CpSolverResponseStats</a></div><divclass="ttdeci">std::string CpSolverResponseStats(const CpSolverResponse &response, bool has_objective)</div><divclass="ttdoc">Returns a string with some statistics on the solver response.</div><divclass="ttdef"><b>Definition:</b><ahref="cp__model__solver_8cc_source.html#l00496">cp_model_solver.cc:496</a></div></div>
<divclass="ttc"id="anamespaceoperations__research_1_1sat_html_a9d2f0d4258ace84d7ddf7e886c72b913"><divclass="ttname"><ahref="namespaceoperations__research_1_1sat.html#a9d2f0d4258ace84d7ddf7e886c72b913">operations_research::sat::CpModelStats</a></div><divclass="ttdeci">std::string CpModelStats(const CpModelProto &model_proto)</div><divclass="ttdoc">Returns a string with some statistics on the given CpModelProto.</div><divclass="ttdef"><b>Definition:</b><ahref="cp__model__solver_8cc_source.html#l00177">cp_model_solver.cc:177</a></div></div>
<divclass="ttc"id="anamespaceoperations__research_1_1sat_html_aa9299de04255b99318446500127d79e1"><divclass="ttname"><ahref="namespaceoperations__research_1_1sat.html#aa9299de04255b99318446500127d79e1">operations_research::sat::SolveCpModel</a></div><divclass="ttdeci">CpSolverResponse SolveCpModel(const CpModelProto &model_proto, Model *model)</div><divclass="ttdoc">Solves the given CpModelProto.</div><divclass="ttdef"><b>Definition:</b><ahref="cp__model__solver_8cc_source.html#l03055">cp_model_solver.cc:3055</a></div></div>
<divclass="ttc"id="anamespaceoperations__research_1_1sat_html_af614bdef2c50e3b9d5806e32ec7ef4b2"><divclass="ttname"><ahref="namespaceoperations__research_1_1sat.html#af614bdef2c50e3b9d5806e32ec7ef4b2">operations_research::sat::SolveWithParameters</a></div><divclass="ttdeci">CpSolverResponse SolveWithParameters(const CpModelProto &model_proto, const SatParameters &params)</div><divclass="ttdoc">Solves the given CpModelProto with the given parameters.</div><divclass="ttdef"><b>Definition:</b><ahref="cp__model__solver_8cc_source.html#l03645">cp_model_solver.cc:3645</a></div></div>
<divclass="ttc"id="anamespaceoperations__research_1_1sat_html_af904018d9a1c9983624b1ce0331f2bf5"><divclass="ttname"><ahref="namespaceoperations__research_1_1sat.html#af904018d9a1c9983624b1ce0331f2bf5">operations_research::sat::Solve</a></div><divclass="ttdeci">CpSolverResponse Solve(const CpModelProto &model_proto)</div><divclass="ttdoc">Solves the given CpModelProto and returns an instance of CpSolverResponse.</div><divclass="ttdef"><b>Definition:</b><ahref="cp__model__solver_8cc_source.html#l03640">cp_model_solver.cc:3640</a></div></div>
<divclass="ttc"id="anamespaceoperations__research_html"><divclass="ttname"><ahref="namespaceoperations__research.html">operations_research</a></div><divclass="ttdoc">Collection of objects used to extend the Constraint Solver library.</div><divclass="ttdef"><b>Definition:</b><ahref="dense__doubly__linked__list_8h_source.html#l00021">dense_doubly_linked_list.h:21</a></div></div>