126 lines
30 KiB
HTML
126 lines
30 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.8.15"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>OR-Tools: gscip_solver_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>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(initResizable);
|
|
/* @license-end */</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
|
|
 <span id="projectnumber">9.1</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.15 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @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('gscip__solver__callback_8h_source.html','');});
|
|
/* @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">gscip_solver_callback.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="gscip__solver__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> <span class="comment">// Copyright 2010-2021 Google LLC</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <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> <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> <span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <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> <span class="comment">//</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <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> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <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> <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> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_SOLVER_CALLBACK_H_</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_SOLVER_CALLBACK_H_</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <optional></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "absl/base/thread_annotations.h"</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "absl/status/status.h"</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "absl/strings/string_view.h"</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "absl/synchronization/mutex.h"</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "absl/time/time.h"</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "scip/type_scip.h"</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="gscip_8h.html">ortools/gscip/gscip.h</a>"</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "ortools/math_opt/callback.pb.h"</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="solver__interface_8h.html">ortools/math_opt/core/solver_interface.h</a>"</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="message__callback__data_8h.html">ortools/math_opt/solvers/message_callback_data.h</a>"</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <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> <span class="keyword">namespace </span>math_opt {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// Handler for user callbacks for GScipSolver.</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">//</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// It deals with solve interruption when the user request it or when an error</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// occurs during the call of the user callback. Any such error is returned by</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// Flush().</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html"> 39</a></span> <span class="keyword">class </span><a class="code" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html">GScipSolverCallbackHandler</a> {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">// Returns a non null handler if needed (there are supported events that we</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">// register to).</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">//</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">// The caller will also have to use MessageHandler() when calling</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// GScip::Solve() when the result is not nullptr.</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">//</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// At the end of the solve, Flush() must be called (when everything else</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="comment">// succeeded) to make the final user callback calls and return the first error</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="comment">// that occurred when calling the user callback.</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">static</span> std::unique_ptr<GScipSolverCallbackHandler> <a class="code" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#a22cd7715028df18c5f7fc75837b3975b">RegisterIfNeeded</a>(</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">const</span> CallbackRegistrationProto& callback_registration,</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="classoperations__research_1_1math__opt_1_1_solver_interface.html#ab47a61ca53ae9cdf35dd4f2dfc9ecadb">SolverInterface::Callback</a> <a class="code" href="gurobi__interface_8cc.html#a6627a3800ac768bb5528ef54c9cace36">callback</a>, absl::Time solve_start, SCIP* scip);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#af73659e6ed12390aa474bb5819a93f92">GScipSolverCallbackHandler</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html">GScipSolverCallbackHandler</a>&) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html">GScipSolverCallbackHandler</a>& <a class="code" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#ac6dc8d75ddd36d24c52ffe356f494b55">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html">GScipSolverCallbackHandler</a>&) =</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">delete</span>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">// Returns the handler to pass to GScip::Solve().</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="namespaceoperations__research.html#a2899c1afc60224e18c3d9d4a95c5064e">GScipMessageHandler</a> <a class="code" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#a4b70aa63f251813bb58fbb07b511ecea">MessageHandler</a>();</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// Makes any last pending calls and returns the first error that occurred</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// while calling the user callback. Returns OkStatus if no error has occurred.</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  absl::Status <a class="code" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#a58544266058bce093b84364979af75ba">Flush</a>();</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#af73659e6ed12390aa474bb5819a93f92">GScipSolverCallbackHandler</a>(<a class="code" href="classoperations__research_1_1math__opt_1_1_solver_interface.html#ab47a61ca53ae9cdf35dd4f2dfc9ecadb">SolverInterface::Callback</a> <a class="code" href="gurobi__interface_8cc.html#a6627a3800ac768bb5528ef54c9cace36">callback</a>,</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  absl::Time solve_start, SCIP* scip);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// Updates message_callback_data_ and makes the necessary calls to the user</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">// callback if necessary. This method has the expected signature for a</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">// GScipMessageHandler.</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">void</span> MessageCallback(<a class="code" href="namespaceoperations__research.html#ab05776694f43218498fa4ccdbd8cf982">GScipMessageType</a> type, absl::string_view <a class="code" href="trace_8cc.html#a36bd74109f547f7f8198faf5a12d2879">message</a>);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">// Makes a call to the user callback, updating the status_ and interrupting</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// the solve if needed (in case of error or if requested by the user).</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">//</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// This function will ignores calls when status_ is not ok. It returns the</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// result of the call of the callback when the call has successfully been made</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">// and the user has not requested the termination of the solve.</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="comment">//</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// This function will hold the callback_mutex_ while making the call to the</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="comment">// user callback to serialize calls.</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  absl::optional<CallbackResultProto> CallUserCallback(</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">const</span> CallbackDataProto& callback_data)</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  ABSL_LOCKS_EXCLUDED(callback_mutex_);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">// The user callback. Should be called via CallUserCallback().</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1math__opt_1_1_solver_interface.html#ab47a61ca53ae9cdf35dd4f2dfc9ecadb">SolverInterface::Callback</a> callback_;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="comment">// Start time of the solve.</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">const</span> absl::Time solve_start_;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">// The SCIP solver, used for interruptions.</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  SCIP* <span class="keyword">const</span> scip_;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// Mutex serializing calls to the user callback and the access to status_.</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  absl::Mutex callback_mutex_;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="comment">// The first error status returned by the user callback.</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  absl::Status status_ ABSL_GUARDED_BY(callback_mutex_);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="comment">// Mutex serializing access to message_callback_data_ and the serialization of</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="comment">// calls to the user callback for CALLBACK_EVENT_MESSAGE events.</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  absl::Mutex message_mutex_;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// The buffer used to generate the message events.</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="classoperations__research_1_1math__opt_1_1_message_callback_data.html">MessageCallbackData</a> message_callback_data_ ABSL_GUARDED_BY(message_mutex_);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> };</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> } <span class="comment">// namespace math_opt</span></div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> } <span class="comment">// namespace operations_research</span></div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor">#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_SOLVER_CALLBACK_H_</span></div><div class="ttc" id="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler_html"><div class="ttname"><a href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html">operations_research::math_opt::GScipSolverCallbackHandler</a></div><div class="ttdef"><b>Definition:</b> <a href="gscip__solver__callback_8h_source.html#l00039">gscip_solver_callback.h:39</a></div></div>
|
|
<div class="ttc" id="gurobi__interface_8cc_html_a6627a3800ac768bb5528ef54c9cace36"><div class="ttname"><a href="gurobi__interface_8cc.html#a6627a3800ac768bb5528ef54c9cace36">callback</a></div><div class="ttdeci">MPCallback * callback</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__interface_8cc_source.html#l00514">gurobi_interface.cc:514</a></div></div>
|
|
<div class="ttc" id="namespaceoperations__research_html_ab05776694f43218498fa4ccdbd8cf982"><div class="ttname"><a href="namespaceoperations__research.html#ab05776694f43218498fa4ccdbd8cf982">operations_research::GScipMessageType</a></div><div class="ttdeci">GScipMessageType</div><div class="ttdef"><b>Definition:</b> <a href="gscip__message__handler_8h_source.html#l00028">gscip_message_handler.h:28</a></div></div>
|
|
<div class="ttc" id="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler_html_ac6dc8d75ddd36d24c52ffe356f494b55"><div class="ttname"><a href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#ac6dc8d75ddd36d24c52ffe356f494b55">operations_research::math_opt::GScipSolverCallbackHandler::operator=</a></div><div class="ttdeci">GScipSolverCallbackHandler & operator=(const GScipSolverCallbackHandler &)=delete</div></div>
|
|
<div class="ttc" id="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler_html_a58544266058bce093b84364979af75ba"><div class="ttname"><a href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#a58544266058bce093b84364979af75ba">operations_research::math_opt::GScipSolverCallbackHandler::Flush</a></div><div class="ttdeci">absl::Status Flush()</div><div class="ttdef"><b>Definition:</b> <a href="gscip__solver__callback_8cc_source.html#l00072">gscip_solver_callback.cc:72</a></div></div>
|
|
<div class="ttc" id="message__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="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler_html_a22cd7715028df18c5f7fc75837b3975b"><div class="ttname"><a href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#a22cd7715028df18c5f7fc75837b3975b">operations_research::math_opt::GScipSolverCallbackHandler::RegisterIfNeeded</a></div><div class="ttdeci">static std::unique_ptr< GScipSolverCallbackHandler > RegisterIfNeeded(const CallbackRegistrationProto &callback_registration, SolverInterface::Callback callback, absl::Time solve_start, SCIP *scip)</div><div class="ttdef"><b>Definition:</b> <a href="gscip__solver__callback_8cc_source.html#l00045">gscip_solver_callback.cc:45</a></div></div>
|
|
<div class="ttc" id="trace_8cc_html_a36bd74109f547f7f8198faf5a12d2879"><div class="ttname"><a href="trace_8cc.html#a36bd74109f547f7f8198faf5a12d2879">message</a></div><div class="ttdeci">std::string message</div><div class="ttdef"><b>Definition:</b> <a href="trace_8cc_source.html#l00398">trace.cc:398</a></div></div>
|
|
<div class="ttc" id="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler_html_af73659e6ed12390aa474bb5819a93f92"><div class="ttname"><a href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#af73659e6ed12390aa474bb5819a93f92">operations_research::math_opt::GScipSolverCallbackHandler::GScipSolverCallbackHandler</a></div><div class="ttdeci">GScipSolverCallbackHandler(const GScipSolverCallbackHandler &)=delete</div></div>
|
|
<div class="ttc" id="gscip_8h_html"><div class="ttname"><a href="gscip_8h.html">gscip.h</a></div></div>
|
|
<div class="ttc" id="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler_html_a4b70aa63f251813bb58fbb07b511ecea"><div class="ttname"><a href="classoperations__research_1_1math__opt_1_1_g_scip_solver_callback_handler.html#a4b70aa63f251813bb58fbb07b511ecea">operations_research::math_opt::GScipSolverCallbackHandler::MessageHandler</a></div><div class="ttdeci">GScipMessageHandler MessageHandler()</div><div class="ttdef"><b>Definition:</b> <a href="gscip__solver__callback_8cc_source.html#l00067">gscip_solver_callback.cc:67</a></div></div>
|
|
<div class="ttc" id="classoperations__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< absl::StatusOr< CallbackResultProto >(const CallbackDataProto &)> Callback</div><div class="ttdef"><b>Definition:</b> <a href="solver__interface_8h_source.html#l00055">solver_interface.h:55</a></div></div>
|
|
<div class="ttc" id="namespaceoperations__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="classoperations__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="solver__interface_8h_html"><div class="ttname"><a href="solver__interface_8h.html">solver_interface.h</a></div></div>
|
|
<div class="ttc" id="namespaceoperations__research_html_a2899c1afc60224e18c3d9d4a95c5064e"><div class="ttname"><a href="namespaceoperations__research.html#a2899c1afc60224e18c3d9d4a95c5064e">operations_research::GScipMessageHandler</a></div><div class="ttdeci">std::function< void(GScipMessageType type, absl::string_view message)> GScipMessageHandler</div><div class="ttdef"><b>Definition:</b> <a href="gscip__message__handler_8h_source.html#l00037">gscip_message_handler.h:37</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="gscip__solver__callback_8h.html">gscip_solver_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.8.15 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|