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" / >
2022-01-17 21:42:14 +01:00
< meta name = "generator" content = "Doxygen 1.9.3" / >
2020-09-01 16:00:33 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > OR-Tools: cuts.cc 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
2022-03-04 00:11:33 +01:00
  < span id = "projectnumber" > 9.3< / span >
2020-09-01 16:00:33 +02:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2022-01-17 21:42:14 +01:00
<!-- Generated by Doxygen 1.9.3 -->
2020-09-01 16:00:33 +02:00
< script type = "text/javascript" >
2022-01-17 21:42:14 +01:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'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" >
2022-01-17 21:42:14 +01:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
2020-09-01 16:00:33 +02:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-01-17 21:42:14 +01:00
/* @license-end */
< / script >
2020-09-01 16:00:33 +02:00
< 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" >
2022-01-17 21:42:14 +01:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(document).ready(function(){initNavTree('cuts_8cc.html',''); initResizable(); });
2020-09-01 16:00:33 +02:00
/* @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 > |
< a href = "#func-members" > Functions< / a > < / div >
2022-01-17 21:42:14 +01:00
< div class = "headertitle" > < div class = "title" > cuts.cc File Reference< / div > < / div >
2020-09-01 16:00:33 +02:00
< / div > <!-- header -->
< div class = "contents" >
< p > < a href = "cuts_8cc_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
2022-01-17 21:42:14 +01:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "namespaces" name = "namespaces" > < / a >
2020-09-01 16:00:33 +02:00
Namespaces< / h2 > < / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memitem:namespaceoperations__research" > < td class = "memItemLeft" align = "right" valign = "top" > namespace   < / 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 >
2022-01-17 21:42:14 +01:00
< tr class = "memitem:namespaceoperations__research_1_1sat" > < td class = "memItemLeft" align = "right" valign = "top" > namespace   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html" > operations_research::sat< / a > < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
2022-01-17 21:42:14 +01:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "func-members" name = "func-members" > < / a >
2020-09-01 16:00:33 +02:00
Functions< / h2 > < / td > < / tr >
2021-09-20 15:57:27 +02:00
< tr class = "memitem:accb737ae1fad15d6798a4b8bc27cea51" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#accb737ae1fad15d6798a4b8bc27cea51" > LiftKnapsackCut< / a > (const LinearConstraint & constraint, const < a class = "el" href = "classabsl_1_1_strong_vector.html" > absl::StrongVector< / a > < IntegerVariable, double > & lp_values, const std::vector< IntegerValue > & cut_vars_original_coefficients, const IntegerTrail & integer_trail, TimeLimit *< a class = "el" href = "cp__model__solver_8cc.html#aec8af5c1be4e1b6d4330e1161028de21" > time_limit< / a > , LinearConstraint *cut)< / td > < / tr >
2020-12-07 17:47:46 +01:00
< tr class = "separator:accb737ae1fad15d6798a4b8bc27cea51" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1de556a1559f25bd0819655d375f6c8e" > < td class = "memItemLeft" align = "right" valign = "top" > LinearConstraint  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a1de556a1559f25bd0819655d375f6c8e" > GetPreprocessedLinearConstraint< / a > (const LinearConstraint & constraint, const < a class = "el" href = "classabsl_1_1_strong_vector.html" > absl::StrongVector< / a > < IntegerVariable, double > & lp_values, const IntegerTrail & integer_trail)< / td > < / tr >
< tr class = "separator:a1de556a1559f25bd0819655d375f6c8e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "memitem:ac8b530afe36cf1521c919ca43429926d" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#ac8b530afe36cf1521c919ca43429926d" > ConstraintIsTriviallyTrue< / a > (const LinearConstraint & constraint, const IntegerTrail & integer_trail)< / td > < / tr >
< tr class = "separator:ac8b530afe36cf1521c919ca43429926d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-12-07 17:47:46 +01:00
< tr class = "memitem:a588b516182cd6d5d8c048dfd76bc5523" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a588b516182cd6d5d8c048dfd76bc5523" > CanBeFilteredUsingCutLowerBound< / a > (const LinearConstraint & preprocessed_constraint, const < a class = "el" href = "classabsl_1_1_strong_vector.html" > absl::StrongVector< / a > < IntegerVariable, double > & lp_values, const IntegerTrail & integer_trail)< / td > < / tr >
< tr class = "separator:a588b516182cd6d5d8c048dfd76bc5523" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "memitem:a457076abfb3071fca80b8175363e3dfa" > < td class = "memItemLeft" align = "right" valign = "top" > double  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a457076abfb3071fca80b8175363e3dfa" > GetKnapsackUpperBound< / a > (std::vector< KnapsackItem > items, const double < a class = "el" href = "routing__flow_8cc.html#a2acb49f4df5288066c43610bede123ec" > capacity< / a > )< / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "separator:a457076abfb3071fca80b8175363e3dfa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-12-07 17:47:46 +01:00
< tr class = "memitem:a8c8db245a613f2fb46d917cd78100f83" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a8c8db245a613f2fb46d917cd78100f83" > CanBeFilteredUsingKnapsackUpperBound< / a > (const LinearConstraint & constraint, const < a class = "el" href = "classabsl_1_1_strong_vector.html" > absl::StrongVector< / a > < IntegerVariable, double > & lp_values, const IntegerTrail & integer_trail)< / td > < / tr >
< tr class = "separator:a8c8db245a613f2fb46d917cd78100f83" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a32f0016572d69bfcd1f3af811b2043ad" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a32f0016572d69bfcd1f3af811b2043ad" > CanFormValidKnapsackCover< / a > (const LinearConstraint & preprocessed_constraint, const < a class = "el" href = "classabsl_1_1_strong_vector.html" > absl::StrongVector< / a > < IntegerVariable, double > & lp_values, const IntegerTrail & integer_trail)< / td > < / tr >
< tr class = "separator:a32f0016572d69bfcd1f3af811b2043ad" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "memitem:a06e2118f6735d033f7f43a939abe558d" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a06e2118f6735d033f7f43a939abe558d" > ConvertToKnapsackForm< / a > (const LinearConstraint & constraint, std::vector< LinearConstraint > *knapsack_constraints, IntegerTrail *integer_trail)< / td > < / tr >
< tr class = "separator:a06e2118f6735d033f7f43a939abe558d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac158f737c8653b1fc1bd294ea2d3412d" > < td class = "memItemLeft" align = "right" valign = "top" > CutGenerator  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#ac158f737c8653b1fc1bd294ea2d3412d" > CreateKnapsackCoverCutGenerator< / a > (const std::vector< LinearConstraint > & base_constraints, const std::vector< IntegerVariable > & vars, Model *< a class = "el" href = "gurobi__interface_8cc.html#a0728f23c9a47655d38e0bf1a2f200bcf" > model< / a > )< / td > < / tr >
< tr class = "separator:ac158f737c8653b1fc1bd294ea2d3412d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a44bd0a015c444c2e2d58a002a09a1ea5" > < td class = "memItemLeft" align = "right" valign = "top" > IntegerValue  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a44bd0a015c444c2e2d58a002a09a1ea5" > GetFactorT< / a > (IntegerValue rhs_remainder, IntegerValue divisor, IntegerValue max_t)< / td > < / tr >
< tr class = "separator:a44bd0a015c444c2e2d58a002a09a1ea5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8e30df8580d6914abba28f43b6e4e667" > < td class = "memItemLeft" align = "right" valign = "top" > std::function< IntegerValue(IntegerValue)>   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a8e30df8580d6914abba28f43b6e4e667" > GetSuperAdditiveRoundingFunction< / a > (IntegerValue rhs_remainder, IntegerValue divisor, IntegerValue t, IntegerValue max_scaling)< / td > < / tr >
< tr class = "separator:a8e30df8580d6914abba28f43b6e4e667" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-12-14 13:41:01 +01:00
< tr class = "memitem:a86a16fa3180f4ebc8ac36c16a2b49fac" > < td class = "memItemLeft" align = "right" valign = "top" > CutGenerator  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a86a16fa3180f4ebc8ac36c16a2b49fac" > CreatePositiveMultiplicationCutGenerator< / a > (AffineExpression z, AffineExpression x, AffineExpression y, int linearization_level, Model *< a class = "el" href = "gurobi__interface_8cc.html#a0728f23c9a47655d38e0bf1a2f200bcf" > model< / a > )< / td > < / tr >
< tr class = "separator:a86a16fa3180f4ebc8ac36c16a2b49fac" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a91e92ebb8d6c8bd62ae597625f443427" > < td class = "memItemLeft" align = "right" valign = "top" > CutGenerator  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a91e92ebb8d6c8bd62ae597625f443427" > CreateSquareCutGenerator< / a > (AffineExpression y, AffineExpression x, int linearization_level, Model *< a class = "el" href = "gurobi__interface_8cc.html#a0728f23c9a47655d38e0bf1a2f200bcf" > model< / a > )< / td > < / tr >
< tr class = "separator:a91e92ebb8d6c8bd62ae597625f443427" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a25553837a2eba1b1fbb5ac0eac64ad15" > < td class = "memItemLeft" align = "right" valign = "top" > CutGenerator  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a25553837a2eba1b1fbb5ac0eac64ad15" > CreateAllDifferentCutGenerator< / a > (const std::vector< AffineExpression > & exprs, Model *< a class = "el" href = "gurobi__interface_8cc.html#a0728f23c9a47655d38e0bf1a2f200bcf" > model< / a > )< / td > < / tr >
< tr class = "separator:a25553837a2eba1b1fbb5ac0eac64ad15" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-09-01 16:00:33 +02:00
< tr class = "memitem:a7fea62548e11ae728e506874f767bdd3" > < td class = "memItemLeft" align = "right" valign = "top" > CutGenerator  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a7fea62548e11ae728e506874f767bdd3" > CreateLinMaxCutGenerator< / a > (const IntegerVariable target, const std::vector< LinearExpression > & exprs, const std::vector< IntegerVariable > & z_vars, Model *< a class = "el" href = "gurobi__interface_8cc.html#a0728f23c9a47655d38e0bf1a2f200bcf" > model< / a > )< / td > < / tr >
< tr class = "separator:a7fea62548e11ae728e506874f767bdd3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memitem:a88fabb0f851ff07d459b8be401162601" > < td class = "memItemLeft" align = "right" valign = "top" > LinearConstraint  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#a88fabb0f851ff07d459b8be401162601" > BuildMaxAffineUpConstraint< / a > (const LinearExpression & target, IntegerVariable < a class = "el" href = "sat__solver_8cc.html#a8392bdc4ed570e6a95c7fca35b09f83f" > var< / a > , const std::vector< std::pair< IntegerValue, IntegerValue > > & affines, Model *< a class = "el" href = "gurobi__interface_8cc.html#a0728f23c9a47655d38e0bf1a2f200bcf" > model< / a > )< / td > < / tr >
< tr class = "separator:a88fabb0f851ff07d459b8be401162601" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab782d6f91aefca5ee81c3b622e862875" > < td class = "memItemLeft" align = "right" valign = "top" > CutGenerator  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#ab782d6f91aefca5ee81c3b622e862875" > CreateMaxAffineCutGenerator< / a > (LinearExpression target, IntegerVariable < a class = "el" href = "sat__solver_8cc.html#a8392bdc4ed570e6a95c7fca35b09f83f" > var< / a > , std::vector< std::pair< IntegerValue, IntegerValue > > affines, const std::string cut_name, Model *< a class = "el" href = "gurobi__interface_8cc.html#a0728f23c9a47655d38e0bf1a2f200bcf" > model< / a > )< / td > < / tr >
< tr class = "separator:ab782d6f91aefca5ee81c3b622e862875" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:adf176ac81e34e8fd124d823ee0033f1a" > < td class = "memItemLeft" align = "right" valign = "top" > CutGenerator  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1sat.html#adf176ac81e34e8fd124d823ee0033f1a" > CreateCliqueCutGenerator< / a > (const std::vector< IntegerVariable > & base_variables, Model *< a class = "el" href = "gurobi__interface_8cc.html#a0728f23c9a47655d38e0bf1a2f200bcf" > model< / a > )< / td > < / tr >
< tr class = "separator:adf176ac81e34e8fd124d823ee0033f1a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-09-01 16:00:33 +02:00
< / 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 = "cuts_8cc.html" > cuts.cc< / a > < / li >
< li class = "footer" > Generated by
< a href = "http://www.doxygen.org/index.html" >
2022-01-17 21:42:14 +01:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.9.3 < / li >
2020-09-01 16:00:33 +02:00
< / ul >
< / div >
< / body >
< / html >