2021-04-27 23:00:03 +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" / >
2021-04-27 23:00:03 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > OR-Tools: lagrangian_relaxation.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 >
2021-04-27 23:00:03 +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 -->
2021-04-27 23:00:03 +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');
2021-04-27 23:00:03 +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 */
2021-04-27 23:00:03 +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 >
2021-04-27 23:00:03 +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('lagrangian__relaxation_8cc.html',''); initResizable(); });
2021-04-27 23:00:03 +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 = "#func-members" > Functions< / a > |
< a href = "#var-members" > Variables< / a > < / div >
2022-01-17 21:42:14 +01:00
< div class = "headertitle" > < div class = "title" > lagrangian_relaxation.cc File Reference< / div > < / div >
2021-04-27 23:00:03 +02:00
< / div > <!-- header -->
< div class = "contents" >
< p > < a href = "lagrangian__relaxation_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 = "func-members" name = "func-members" > < / a >
2021-04-27 23:00:03 +02:00
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a3dd301d5a8f137443e3619bd9882b23a" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "lagrangian__relaxation_8cc.html#a3dd301d5a8f137443e3619bd9882b23a" > ABSL_FLAG< / a > (double, step_size, 0.95, " Stepsize for gradient ascent, determined as step_size^t." )< / td > < / tr >
< tr class = "separator:a3dd301d5a8f137443e3619bd9882b23a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a38044bbf977275409524d07163ab3276" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "lagrangian__relaxation_8cc.html#a38044bbf977275409524d07163ab3276" > ABSL_FLAG< / a > (int, max_iterations, 1000, " Max number of iterations for gradient ascent." )< / td > < / tr >
< tr class = "separator:a38044bbf977275409524d07163ab3276" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a54d9cccfffed73a64555e2d29363fd57" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "lagrangian__relaxation_8cc.html#a54d9cccfffed73a64555e2d29363fd57" > ABSL_FLAG< / a > (bool, dualize_resource_1, true, " If true, the side constraint associated to resource 1 is dualized." )< / td > < / tr >
< tr class = "separator:a54d9cccfffed73a64555e2d29363fd57" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af983917cd26cd3cc8e9de25abf287fe4" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "lagrangian__relaxation_8cc.html#af983917cd26cd3cc8e9de25abf287fe4" > ABSL_FLAG< / a > (bool, dualize_resource_2, false, " If true, the side constraint associated to resource 2 is dualized." )< / td > < / tr >
< tr class = "separator:af983917cd26cd3cc8e9de25abf287fe4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a69e141f2228adf5791514fd1632e6fd6" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "lagrangian__relaxation_8cc.html#a69e141f2228adf5791514fd1632e6fd6" > ABSL_FLAG< / a > (bool, lagrangian_output, false, " If true, shows the iteration log of the subgradient ascent " " procedure use to solve the Lagrangian problem" )< / td > < / tr >
< tr class = "separator:a69e141f2228adf5791514fd1632e6fd6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3c04138a5bfe5d72780bb7e82a18e627" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "lagrangian__relaxation_8cc.html#a3c04138a5bfe5d72780bb7e82a18e627" > main< / a > (int argc, char **argv)< / td > < / tr >
< tr class = "separator:a3c04138a5bfe5d72780bb7e82a18e627" > < 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 = "var-members" name = "var-members" > < / a >
2021-04-27 23:00:03 +02:00
Variables< / h2 > < / td > < / tr >
< tr class = "memitem:a6ffb9a02546adae760787b2366ae6e41" > < td class = "memItemLeft" align = "right" valign = "top" > constexpr double  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "lagrangian__relaxation_8cc.html#a6ffb9a02546adae760787b2366ae6e41" > kZeroTol< / a > = 1.0e-8< / td > < / tr >
< tr class = "separator:a6ffb9a02546adae760787b2366ae6e41" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Function Documentation< / h2 >
2022-01-17 21:42:14 +01:00
< a id = "a54d9cccfffed73a64555e2d29363fd57" name = "a54d9cccfffed73a64555e2d29363fd57" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a54d9cccfffed73a64555e2d29363fd57" > ◆ < / a > < / span > ABSL_FLAG() < span class = "overload" > [1/5]< / span > < / h2 >
2021-04-27 23:00:03 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > ABSL_FLAG < / td >
< td > (< / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > bool  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > dualize_resource_1  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > true  < / td >
< td class = "paramname" > , < / td >
2021-04-27 23:00:03 +02:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > " If  < / td >
< td class = "paramname" > < em > true< / em > , < / td >
2021-04-27 23:00:03 +02:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > the side constraint associated to resource 1 is dualized."   < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "af983917cd26cd3cc8e9de25abf287fe4" name = "af983917cd26cd3cc8e9de25abf287fe4" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#af983917cd26cd3cc8e9de25abf287fe4" > ◆ < / a > < / span > ABSL_FLAG() < span class = "overload" > [2/5]< / span > < / h2 >
2021-04-27 23:00:03 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > ABSL_FLAG < / td >
< td > (< / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > bool  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > dualize_resource_2  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > false  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > " If  < / td >
< td class = "paramname" > < em > true< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > the side constraint associated to resource 2 is dualized."   < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a69e141f2228adf5791514fd1632e6fd6" name = "a69e141f2228adf5791514fd1632e6fd6" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a69e141f2228adf5791514fd1632e6fd6" > ◆ < / a > < / span > ABSL_FLAG() < span class = "overload" > [3/5]< / span > < / h2 >
2021-04-27 23:00:03 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > ABSL_FLAG < / td >
< td > (< / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > lagrangian_output  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > false  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > " If  < / td >
< td class = "paramname" > < em > true< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > shows the iteration log of the subgradient ascent " " procedure use to solve the Lagrangian problem"   < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a3dd301d5a8f137443e3619bd9882b23a" name = "a3dd301d5a8f137443e3619bd9882b23a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3dd301d5a8f137443e3619bd9882b23a" > ◆ < / a > < / span > ABSL_FLAG() < span class = "overload" > [4/5]< / span > < / h2 >
2021-04-27 23:00:03 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > ABSL_FLAG < / td >
< td > (< / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > double  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > step_size  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > 0.  < / td >
< td class = "paramname" > < em > 95< / em > , < / td >
2021-04-27 23:00:03 +02:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > " Stepsize for gradient  < / td >
< td class = "paramname" > < em > ascent< / em > , < / td >
2021-04-27 23:00:03 +02:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > determined as step_size^t."   < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a38044bbf977275409524d07163ab3276" name = "a38044bbf977275409524d07163ab3276" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a38044bbf977275409524d07163ab3276" > ◆ < / a > < / span > ABSL_FLAG() < span class = "overload" > [5/5]< / span > < / h2 >
2021-04-27 23:00:03 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > ABSL_FLAG < / td >
< td > (< / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > int  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > max_iterations  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > 1000  < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2022-01-17 21:42:14 +01:00
< td class = "paramtype" > " Max number of iterations for gradient ascent."   < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramname" >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a3c04138a5bfe5d72780bb7e82a18e627" name = "a3c04138a5bfe5d72780bb7e82a18e627" > < / a >
2021-04-27 23:00:03 +02:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3c04138a5bfe5d72780bb7e82a18e627" > ◆ < / a > < / span > main()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int main < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > argc< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char **  < / td >
< td class = "paramname" > < em > argv< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2022-03-04 00:11:33 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "lagrangian__relaxation_8cc_source.html#l00485" > 485< / a > of file < a class = "el" href = "lagrangian__relaxation_8cc_source.html" > lagrangian_relaxation.cc< / a > .< / p >
2021-04-27 23:00:03 +02:00
< / div >
< / div >
< h2 class = "groupheader" > Variable Documentation< / h2 >
2022-01-17 21:42:14 +01:00
< a id = "a6ffb9a02546adae760787b2366ae6e41" name = "a6ffb9a02546adae760787b2366ae6e41" > < / a >
2021-04-27 23:00:03 +02:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6ffb9a02546adae760787b2366ae6e41" > ◆ < / a > < / span > kZeroTol< / h2 >
< div class = "memitem" >
< div class = "memproto" >
2022-01-17 21:42:14 +01:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2021-04-27 23:00:03 +02:00
< table class = "memname" >
< tr >
< td class = "memname" > constexpr double kZeroTol = 1.0e-8< / td >
< / tr >
< / table >
2022-01-17 21:42:14 +01:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > constexpr< / span > < / span > < / td >
< / tr >
< / table >
2021-04-27 23:00:03 +02:00
< / div > < div class = "memdoc" >
2022-03-04 00:11:33 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "lagrangian__relaxation_8cc_source.html#l00115" > 115< / a > of file < a class = "el" href = "lagrangian__relaxation_8cc_source.html" > lagrangian_relaxation.cc< / a > .< / p >
2021-04-27 23:00:03 +02:00
< / div >
< / div >
< / 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 >
2021-09-20 15:57:27 +02:00
< 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_78fcc6012c6d52c0cff71d4892279593.html" > samples< / a > < / li > < li class = "navelem" > < a class = "el" href = "lagrangian__relaxation_8cc.html" > lagrangian_relaxation.cc< / a > < / li >
2021-04-27 23:00:03 +02:00
< 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 >
2021-04-27 23:00:03 +02:00
< / ul >
< / div >
< / body >
< / html >