Files
ortools-clone/docs/cpp_linear/model__validator_8h.html
Mizux Seiha 17edcf0e25 Update doc
2021-09-30 01:28:18 +02:00

129 lines
9.7 KiB
HTML

<!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"/>-->
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.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="banner-container">
<div id="banner">
<span id="sfml">Google OR-Tools 9.1</span>
</div>
</div>
<div id="content" style="width: 100%; overflow: hidden;">
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
<h2>C++ Reference</h2>
<ul>
<li><a href="../cpp_algorithms/annotated.html">Algorithms</a></li>
<li><a href="../cpp_sat/annotated.html">CP-SAT</a></li>
<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>
<div id="content">
<div align="center">
<h1 style="color: #145A32;">C++ Reference: Linear solver</h1>
</div>
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('model__validator_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="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">model_validator.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p><a href="model__validator_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 id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceoperations__research"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html">operations_research</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aa7ee6518d30b6929f4bd0229da743f18"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#aa7ee6518d30b6929f4bd0229da743f18">FindErrorInMPModelProto</a> (const MPModelProto &amp;model, double abs_value_threshold=0.0, bool accept_trivially_infeasible_bounds=false)</td></tr>
<tr class="memdesc:aa7ee6518d30b6929f4bd0229da743f18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an empty string iff the model is valid and not trivially infeasible. <a href="namespaceoperations__research.html#aa7ee6518d30b6929f4bd0229da743f18">More...</a><br /></td></tr>
<tr class="separator:aa7ee6518d30b6929f4bd0229da743f18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2506c50d4eb5505613003f685fd1af9f"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a2506c50d4eb5505613003f685fd1af9f">FindErrorInMPModelDeltaProto</a> (const MPModelDeltaProto &amp;delta, const MPModelProto &amp;model)</td></tr>
<tr class="memdesc:a2506c50d4eb5505613003f685fd1af9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Like FindErrorInMPModelProto, but for a <a class="el" href="classoperations__research_1_1_m_p_model_delta_proto.html">MPModelDeltaProto</a> applied to a given baseline model (assumed valid, eg. <a href="namespaceoperations__research.html#a2506c50d4eb5505613003f685fd1af9f">More...</a><br /></td></tr>
<tr class="separator:a2506c50d4eb5505613003f685fd1af9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97d22724a2d11191dcf78eb8e5e5064a"><td class="memItemLeft" align="right" valign="top">absl::optional&lt; LazyMutableCopy&lt; MPModelProto &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a97d22724a2d11191dcf78eb8e5e5064a">ExtractValidMPModelOrPopulateResponseStatus</a> (const MPModelRequest &amp;request, MPSolutionResponse *response)</td></tr>
<tr class="memdesc:a97d22724a2d11191dcf78eb8e5e5064a"><td class="mdescLeft">&#160;</td><td class="mdescRight">If the model is valid and non-empty, returns it (possibly after extracting the model_delta). <a href="namespaceoperations__research.html#a97d22724a2d11191dcf78eb8e5e5064a">More...</a><br /></td></tr>
<tr class="separator:a97d22724a2d11191dcf78eb8e5e5064a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a518848a6b3e172d127121637ab5c608d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a518848a6b3e172d127121637ab5c608d">ExtractValidMPModelInPlaceOrPopulateResponseStatus</a> (MPModelRequest *request, MPSolutionResponse *response)</td></tr>
<tr class="memdesc:a518848a6b3e172d127121637ab5c608d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Like <a class="el" href="namespaceoperations__research.html#a97d22724a2d11191dcf78eb8e5e5064a" title="If the model is valid and non-empty, returns it (possibly after extracting the model_delta).">ExtractValidMPModelOrPopulateResponseStatus()</a>, but works in-place: if the MPModel needed extraction, it will be populated in the request, and it returns the success boolean. <a href="namespaceoperations__research.html#a518848a6b3e172d127121637ab5c608d">More...</a><br /></td></tr>
<tr class="separator:a518848a6b3e172d127121637ab5c608d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4ee4d82cf625670cdc1f52197454654"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#ae4ee4d82cf625670cdc1f52197454654">FindFeasibilityErrorInSolutionHint</a> (const MPModelProto &amp;model, double tolerance)</td></tr>
<tr class="memdesc:ae4ee4d82cf625670cdc1f52197454654"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an empty string if the solution hint given in the model is a feasible solution. <a href="namespaceoperations__research.html#ae4ee4d82cf625670cdc1f52197454654">More...</a><br /></td></tr>
<tr class="separator:ae4ee4d82cf625670cdc1f52197454654"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6841e1b78c89cf9139fc1b9ba1ae8cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#ae6841e1b78c89cf9139fc1b9ba1ae8cb">MergeMPConstraintProtoExceptTerms</a> (const MPConstraintProto &amp;from, MPConstraintProto *to)</td></tr>
<tr class="separator:ae6841e1b78c89cf9139fc1b9ba1ae8cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ed9bad79131000a00e7f01a5f5b824c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a3ed9bad79131000a00e7f01a5f5b824c">ApplyVerifiedMPModelDelta</a> (const MPModelDeltaProto &amp;delta, MPModelProto *model)</td></tr>
<tr class="separator:a3ed9bad79131000a00e7f01a5f5b824c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
</div>
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>