Files
ortools-clone/docs/cpp/gurobi__callback_8h_source.html
2021-04-27 23:00:03 +02:00

197 lines
26 KiB
HTML

<!-- 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"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OR-Tools: gurobi_callback.h Source File</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
&#160;<span id="projectnumber">9.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('gurobi__callback_8h_source.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="headertitle">
<div class="title">gurobi_callback.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="gurobi__callback_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// Copyright 2010-2021 Google LLC</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// limitations under the License.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_CALLBACK_H_</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#define OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_CALLBACK_H_</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;cstdint&gt;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;absl/container/flat_hash_set.h&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;absl/status/status.h&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;absl/time/time.h&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="linked__hash__map_8h.html">ortools/base/linked_hash_map.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;ortools/math_opt/callback.pb.h&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="solver__interface_8h.html">ortools/math_opt/solver_interface.h</a>&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="message__callback__data_8h.html">ortools/math_opt/solvers/message_callback_data.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &quot;ortools/math_opt/sparse_containers.pb.h&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="environment_8h.html">ortools/gurobi/environment.h</a>&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceoperations__research.html">operations_research</a> {</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">namespace </span>math_opt {</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html"> 34</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html">GurobiCallbackInput</a> {</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#af4d74fe70a864d1ead9a9af72c09df62"> 35</a></span>&#160; <a class="code" href="classoperations__research_1_1math__opt_1_1_solver_interface.html#ab47a61ca53ae9cdf35dd4f2dfc9ecadb">SolverInterface::Callback</a> <a class="code" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#af4d74fe70a864d1ead9a9af72c09df62">user_cb</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#af931e986791e9c873c5282d74a9e8b0a"> 36</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classgtl_1_1linked__hash__map.html">gtl::linked_hash_map&lt;int64_t, int&gt;</a>&amp; <a class="code" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#af931e986791e9c873c5282d74a9e8b0a">variable_ids</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#a5eb1d7182a0941609d4a2bfbf774d1e2"> 37</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#a5eb1d7182a0941609d4a2bfbf774d1e2">num_gurobi_vars</a> = 0;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="comment">// events[i] indicates if we should run user_cb when Gurobi&#39;s callback is</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="comment">// triggered with where=i. See:</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="comment">// https://www.gurobi.com/documentation/9.1/refman/cb_codes.html</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="comment">// For list of possible values for where. See also EventToGurobiWhere() below.</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#a4d083d364e0b7deb4191e275069f66f9"> 42</a></span>&#160; std::vector&lt;bool&gt; <a class="code" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#a4d083d364e0b7deb4191e275069f66f9">events</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#add7aff28c9c69ed2a08ac6c4625ca333"> 43</a></span>&#160; <span class="keyword">const</span> SparseVectorFilterProto&amp; <a class="code" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#add7aff28c9c69ed2a08ac6c4625ca333">mip_solution_filter</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#a5ebab0d4f1eb4d86700272b7f348abab"> 44</a></span>&#160; <span class="keyword">const</span> SparseVectorFilterProto&amp; <a class="code" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#a5ebab0d4f1eb4d86700272b7f348abab">mip_node_filter</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#ab49a861ea5322afb0399f71e0f5aeb9e"> 45</a></span>&#160; <span class="keyword">const</span> absl::Time <a class="code" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#ab49a861ea5322afb0399f71e0f5aeb9e">start</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;};</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="comment">// Converts a set of CallbackEventProto enums to a bit vector indicating which</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="comment">// Gurobi callback events need to run our callback.</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="comment">// The returned vector will have an entry for each possible value of &quot;where&quot;</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="comment">// that Gurobi&#39;s callbacks can stop at, see the table here:</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="comment">// https://www.gurobi.com/documentation/9.1/refman/cb_codes.html</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;std::vector&lt;bool&gt; <a class="code" href="namespaceoperations__research_1_1math__opt.html#a90644d44a9987c14edfb1cd0d2605bc5">EventToGurobiWhere</a>(</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">const</span> absl::flat_hash_set&lt;CallbackEventProto&gt;&amp; events);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;absl::Status <a class="code" href="namespaceoperations__research_1_1math__opt.html#aa0726d807a2d5a0679c067794b04ada6">GurobiCallbackImpl</a>(<a class="code" href="environment_8h.html#a865e461c79c88bc5c0d5f56087ae4876">GRBmodel</a>* grb_model, <span class="keywordtype">void</span>* cbdata, <span class="keywordtype">int</span> <a class="code" href="gurobi__interface_8cc.html#a675dd47bbf0a66c9cb592047797a6d69">where</a>,</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">const</span> <a class="code" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html">GurobiCallbackInput</a>&amp; callback_input,</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <a class="code" href="classoperations__research_1_1math__opt_1_1_message_callback_data.html">MessageCallbackData</a>&amp; message_callback_data);</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="comment">// Makes the final calls to the user callback with any buffered event if</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment">// necessary. It must be called once at the end of the solve, and only if all</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="comment">// previous callbacks succeeded (and the solve succeeded).</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;absl::Status <a class="code" href="namespaceoperations__research_1_1math__opt.html#ab4c5bf9cf19938d8fcabd15e6ef95349">GurobiCallbackImplFlush</a>(</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keyword">const</span> <a class="code" href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html">GurobiCallbackInput</a>&amp; callback_input,</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="classoperations__research_1_1math__opt_1_1_message_callback_data.html">MessageCallbackData</a>&amp; message_callback_data);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;} <span class="comment">// namespace math_opt</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;} <span class="comment">// namespace operations_research</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_CALLBACK_H_</span></div>
<div class="ttc" id="aclassgtl_1_1linked__hash__map_html"><div class="ttname"><a href="classgtl_1_1linked__hash__map.html">gtl::linked_hash_map&lt; int64_t, int &gt;</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1math__opt_1_1_message_callback_data_html"><div class="ttname"><a href="classoperations__research_1_1math__opt_1_1_message_callback_data.html">operations_research::math_opt::MessageCallbackData</a></div><div class="ttdef"><b>Definition:</b> <a href="message__callback__data_8h_source.html#l00041">message_callback_data.h:41</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1math__opt_1_1_solver_interface_html_ab47a61ca53ae9cdf35dd4f2dfc9ecadb"><div class="ttname"><a href="classoperations__research_1_1math__opt_1_1_solver_interface.html#ab47a61ca53ae9cdf35dd4f2dfc9ecadb">operations_research::math_opt::SolverInterface::Callback</a></div><div class="ttdeci">std::function&lt; absl::StatusOr&lt; CallbackResultProto &gt;(const CallbackDataProto &amp;)&gt; Callback</div><div class="ttdef"><b>Definition:</b> <a href="solver__interface_8h_source.html#l00054">solver_interface.h:55</a></div></div>
<div class="ttc" id="aenvironment_8h_html"><div class="ttname"><a href="environment_8h.html">environment.h</a></div></div>
<div class="ttc" id="aenvironment_8h_html_a865e461c79c88bc5c0d5f56087ae4876"><div class="ttname"><a href="environment_8h.html#a865e461c79c88bc5c0d5f56087ae4876">GRBmodel</a></div><div class="ttdeci">struct _GRBmodel GRBmodel</div><div class="ttdef"><b>Definition:</b> <a href="environment_8h_source.html#l00001">environment.h:24</a></div></div>
<div class="ttc" id="agurobi__interface_8cc_html_a675dd47bbf0a66c9cb592047797a6d69"><div class="ttname"><a href="gurobi__interface_8cc.html#a675dd47bbf0a66c9cb592047797a6d69">where</a></div><div class="ttdeci">int where</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__interface_8cc_source.html#l00275">gurobi_interface.cc:275</a></div></div>
<div class="ttc" id="alinked__hash__map_8h_html"><div class="ttname"><a href="linked__hash__map_8h.html">linked_hash_map.h</a></div></div>
<div class="ttc" id="amessage__callback__data_8h_html"><div class="ttname"><a href="message__callback__data_8h.html">message_callback_data.h</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1math__opt_html_a90644d44a9987c14edfb1cd0d2605bc5"><div class="ttname"><a href="namespaceoperations__research_1_1math__opt.html#a90644d44a9987c14edfb1cd0d2605bc5">operations_research::math_opt::EventToGurobiWhere</a></div><div class="ttdeci">std::vector&lt; bool &gt; EventToGurobiWhere(const absl::flat_hash_set&lt; CallbackEventProto &gt; &amp;events)</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8cc_source.html#l00395">gurobi_callback.cc:395</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1math__opt_html_aa0726d807a2d5a0679c067794b04ada6"><div class="ttname"><a href="namespaceoperations__research_1_1math__opt.html#aa0726d807a2d5a0679c067794b04ada6">operations_research::math_opt::GurobiCallbackImpl</a></div><div class="ttdeci">absl::Status GurobiCallbackImpl(GRBmodel *grb_model, void *cbdata, int where, const GurobiCallbackInput &amp;callback_input, MessageCallbackData &amp;message_callback_data)</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8cc_source.html#l00404">gurobi_callback.cc:404</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1math__opt_html_ab4c5bf9cf19938d8fcabd15e6ef95349"><div class="ttname"><a href="namespaceoperations__research_1_1math__opt.html#ab4c5bf9cf19938d8fcabd15e6ef95349">operations_research::math_opt::GurobiCallbackImplFlush</a></div><div class="ttdeci">absl::Status GurobiCallbackImplFlush(const GurobiCallbackInput &amp;callback_input, MessageCallbackData &amp;message_callback_data)</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8cc_source.html#l00427">gurobi_callback.cc:427</a></div></div>
<div class="ttc" id="anamespaceoperations__research_html"><div class="ttname"><a href="namespaceoperations__research.html">operations_research</a></div><div class="ttdoc">Collection of objects used to extend the Constraint Solver library.</div><div class="ttdef"><b>Definition:</b> <a href="dense__doubly__linked__list_8h_source.html#l00021">dense_doubly_linked_list.h:21</a></div></div>
<div class="ttc" id="asolver__interface_8h_html"><div class="ttname"><a href="solver__interface_8h.html">solver_interface.h</a></div></div>
<div class="ttc" id="astructoperations__research_1_1math__opt_1_1_gurobi_callback_input_html"><div class="ttname"><a href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html">operations_research::math_opt::GurobiCallbackInput</a></div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8h_source.html#l00034">gurobi_callback.h:34</a></div></div>
<div class="ttc" id="astructoperations__research_1_1math__opt_1_1_gurobi_callback_input_html_a4d083d364e0b7deb4191e275069f66f9"><div class="ttname"><a href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#a4d083d364e0b7deb4191e275069f66f9">operations_research::math_opt::GurobiCallbackInput::events</a></div><div class="ttdeci">std::vector&lt; bool &gt; events</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8h_source.html#l00042">gurobi_callback.h:42</a></div></div>
<div class="ttc" id="astructoperations__research_1_1math__opt_1_1_gurobi_callback_input_html_a5eb1d7182a0941609d4a2bfbf774d1e2"><div class="ttname"><a href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#a5eb1d7182a0941609d4a2bfbf774d1e2">operations_research::math_opt::GurobiCallbackInput::num_gurobi_vars</a></div><div class="ttdeci">int num_gurobi_vars</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8h_source.html#l00037">gurobi_callback.h:37</a></div></div>
<div class="ttc" id="astructoperations__research_1_1math__opt_1_1_gurobi_callback_input_html_a5ebab0d4f1eb4d86700272b7f348abab"><div class="ttname"><a href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#a5ebab0d4f1eb4d86700272b7f348abab">operations_research::math_opt::GurobiCallbackInput::mip_node_filter</a></div><div class="ttdeci">const SparseVectorFilterProto &amp; mip_node_filter</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8h_source.html#l00044">gurobi_callback.h:44</a></div></div>
<div class="ttc" id="astructoperations__research_1_1math__opt_1_1_gurobi_callback_input_html_ab49a861ea5322afb0399f71e0f5aeb9e"><div class="ttname"><a href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#ab49a861ea5322afb0399f71e0f5aeb9e">operations_research::math_opt::GurobiCallbackInput::start</a></div><div class="ttdeci">const absl::Time start</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8h_source.html#l00045">gurobi_callback.h:45</a></div></div>
<div class="ttc" id="astructoperations__research_1_1math__opt_1_1_gurobi_callback_input_html_add7aff28c9c69ed2a08ac6c4625ca333"><div class="ttname"><a href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#add7aff28c9c69ed2a08ac6c4625ca333">operations_research::math_opt::GurobiCallbackInput::mip_solution_filter</a></div><div class="ttdeci">const SparseVectorFilterProto &amp; mip_solution_filter</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8h_source.html#l00043">gurobi_callback.h:43</a></div></div>
<div class="ttc" id="astructoperations__research_1_1math__opt_1_1_gurobi_callback_input_html_af4d74fe70a864d1ead9a9af72c09df62"><div class="ttname"><a href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#af4d74fe70a864d1ead9a9af72c09df62">operations_research::math_opt::GurobiCallbackInput::user_cb</a></div><div class="ttdeci">SolverInterface::Callback user_cb</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8h_source.html#l00035">gurobi_callback.h:35</a></div></div>
<div class="ttc" id="astructoperations__research_1_1math__opt_1_1_gurobi_callback_input_html_af931e986791e9c873c5282d74a9e8b0a"><div class="ttname"><a href="structoperations__research_1_1math__opt_1_1_gurobi_callback_input.html#af931e986791e9c873c5282d74a9e8b0a">operations_research::math_opt::GurobiCallbackInput::variable_ids</a></div><div class="ttdeci">const gtl::linked_hash_map&lt; int64_t, int &gt; &amp; variable_ids</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__callback_8h_source.html#l00036">gurobi_callback.h:36</a></div></div>
</div><!-- fragment --></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_1defc00030ff81d309105e053121082f.html">math_opt</a></li><li class="navelem"><a class="el" href="dir_6a51feaf2b7f0a1d5cfa932e9ba3d2cd.html">solvers</a></li><li class="navelem"><a class="el" href="gurobi__callback_8h.html">gurobi_callback.h</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>