From bfb86b20a086210d522397486a126ad024656d07 Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Mon, 15 Jul 2019 14:27:40 -0700 Subject: [PATCH] first pass at linear solver doc --- docs/cpp_algorithms/boot.js | 271 ++ docs/cpp_linear.tag | 2618 ++++++++++++++++ docs/cpp_linear/annotated.html | 34 +- docs/cpp_linear/classes.html | 20 +- ...ons__research_1_1MPConstraint-members.html | 93 + ...soperations__research_1_1MPConstraint.html | 1023 +++++++ ...assoperations__research_1_1MPConstraint.js | 35 + ...ations__research_1_1MPConstraintProto.html | 166 +- ..._research_1_1MPGeneralConstraintProto.html | 114 +- ...ns__research_1_1MPIndicatorConstraint.html | 92 +- ...soperations__research_1_1MPModelProto.html | 197 +- ...perations__research_1_1MPModelRequest.html | 184 +- ...ions__research_1_1MPObjective-members.html | 91 + ...ssoperations__research_1_1MPObjective.html | 884 ++++++ ...lassoperations__research_1_1MPObjective.js | 33 + ...tions__research_1_1MPSolutionResponse.html | 158 +- ...rations__research_1_1MPSolver-members.html | 163 + ...classoperations__research_1_1MPSolver.html | 2651 +++++++++++++++++ .../classoperations__research_1_1MPSolver.js | 108 + ..._research_1_1MPSolverCommonParameters.html | 174 +- ...research_1_1MPSolverInterface-members.html | 148 + ...ations__research_1_1MPSolverInterface.html | 2520 ++++++++++++++++ ...erations__research_1_1MPSolverInterface.js | 91 + ...esearch_1_1MPSolverParameters-members.html | 100 + ...tions__research_1_1MPSolverParameters.html | 716 +++++ ...rations__research_1_1MPSolverParameters.js | 48 + ...erations__research_1_1MPSosConstraint.html | 126 +- ...tions__research_1_1MPVariable-members.html | 93 + ...assoperations__research_1_1MPVariable.html | 998 +++++++ ...classoperations__research_1_1MPVariable.js | 35 + ...erations__research_1_1MPVariableProto.html | 149 +- ...perations__research_1_1OptionalDouble.html | 55 +- ...research_1_1PartialVariableAssignment.html | 88 +- docs/cpp_linear/files.js | 2 +- docs/cpp_linear/functions.html | 1 + docs/cpp_linear/functions_a.html | 22 + docs/cpp_linear/functions_b.html | 31 +- docs/cpp_linear/functions_c.html | 73 +- docs/cpp_linear/functions_d.html | 16 +- docs/cpp_linear/functions_e.html | 25 + docs/cpp_linear/functions_enum.html | 30 + docs/cpp_linear/functions_eval.html | 192 +- docs/cpp_linear/functions_f.html | 13 + docs/cpp_linear/functions_func.html | 14 + docs/cpp_linear/functions_func_b.html | 16 +- docs/cpp_linear/functions_func_c.html | 50 +- docs/cpp_linear/functions_func_d.html | 8 +- docs/cpp_linear/functions_func_e.html | 26 + docs/cpp_linear/functions_func_f.html | 98 + docs/cpp_linear/functions_func_g.html | 18 + docs/cpp_linear/functions_func_h.html | 2 + docs/cpp_linear/functions_func_i.html | 42 +- docs/cpp_linear/functions_func_l.html | 24 + docs/cpp_linear/functions_func_m.html | 69 +- docs/cpp_linear/functions_func_n.html | 37 +- docs/cpp_linear/functions_func_o.html | 26 +- docs/cpp_linear/functions_func_p.html | 8 + docs/cpp_linear/functions_func_q.html | 98 + docs/cpp_linear/functions_func_r.html | 28 +- docs/cpp_linear/functions_func_s.html | 158 +- docs/cpp_linear/functions_func_t.html | 18 + docs/cpp_linear/functions_func_u.html | 13 + docs/cpp_linear/functions_func_v.html | 23 +- docs/cpp_linear/functions_func_w.html | 9 + docs/cpp_linear/functions_func_~.html | 8 + docs/cpp_linear/functions_g.html | 36 + docs/cpp_linear/functions_h.html | 1 + docs/cpp_linear/functions_i.html | 59 +- docs/cpp_linear/functions_k.html | 43 + docs/cpp_linear/functions_l.html | 35 + docs/cpp_linear/functions_m.html | 105 +- docs/cpp_linear/functions_n.html | 39 +- docs/cpp_linear/functions_o.html | 32 +- docs/cpp_linear/functions_p.html | 25 + docs/cpp_linear/functions_q.html | 103 + docs/cpp_linear/functions_r.html | 36 +- docs/cpp_linear/functions_rela.html | 112 + docs/cpp_linear/functions_s.html | 232 +- docs/cpp_linear/functions_t.html | 17 + docs/cpp_linear/functions_u.html | 15 + docs/cpp_linear/functions_v.html | 22 +- docs/cpp_linear/functions_vars.html | 70 + docs/cpp_linear/functions_w.html | 8 + docs/cpp_linear/functions_~.html | 7 + docs/cpp_linear/hierarchy.html | 20 +- docs/cpp_linear/linear__solver_8h.html | 49 + docs/cpp_linear/linear__solver_8h.js | 15 + docs/cpp_linear/linear__solver_8h_source.html | 324 +- docs/cpp_linear/linear__solver_8pb_8h.html | 14 +- .../linear__solver_8pb_8h_source.html | 980 +++--- docs/cpp_linear/model__exporter_8h.html | 3 - .../cpp_linear/model__exporter_8h_source.html | 18 +- .../model__exporter__swig__helper_8h.html | 1 - ...del__exporter__swig__helper_8h_source.html | 8 +- docs/cpp_linear/model__validator_8h.html | 3 - .../model__validator_8h_source.html | 6 +- docs/cpp_linear/namespacemembers.html | 37 +- docs/cpp_linear/namespacemembers_func.html | 12 + docs/cpp_linear/namespacemembers_vars.html | 3 + .../namespaceoperations__research.html | 233 +- docs/cpp_linear/namespaces.html | 2 +- docs/cpp_linear/navtreeindex0.js | 6 + ...5fsolver__2flinear__5fsolver__2eproto.html | 3 +- ...ch_1_1MPModelRequest__SolverType_01_4.html | 2 +- ...monParameters__LPAlgorithmValues_01_4.html | 2 +- ...search_1_1MPSolverResponseStatus_01_4.html | 2 +- ...esearch_1_1MPSosConstraint__Type_01_4.html | 2 +- ...ons__research_1_1MPModelExportOptions.html | 14 - docs/java/MPConstraint_8java.html | 1 + docs/java/MPConstraint_8java_source.html | 38 +- docs/java/MPObjective_8java.html | 1 + docs/java/MPObjective_8java_source.html | 30 +- docs/java/MPSolverParameters_8java.html | 7 + .../java/MPSolverParameters_8java_source.html | 92 +- docs/java/MPSolver_8java.html | 7 + docs/java/MPSolver_8java_source.html | 162 +- docs/java/MPVariable_8java.html | 1 + docs/java/MPVariable_8java_source.html | 34 +- docs/java/annotated.html | 31 +- ...tools_1_1algorithms_1_1KnapsackSolver.html | 4 +- ...tools_1_1linearsolver_1_1MPConstraint.html | 105 +- ...ols_1_1linearsolver_1_1MPModelRequest.html | 4 +- ...arsolver_1_1MPModelRequest_1_1Builder.html | 8 +- ...rtools_1_1linearsolver_1_1MPObjective.html | 92 +- ..._1ortools_1_1linearsolver_1_1MPSolver.html | 378 ++- ...1_1linearsolver_1_1MPSolverParameters.html | 82 +- ...ortools_1_1linearsolver_1_1MPVariable.html | 74 +- ...olver_1_1MPModelRequest_1_1SolverType.html | 2 +- ..._1_1MPSolverParameters_1_1DoubleParam.html | 28 +- ...verParameters_1_1IncrementalityValues.html | 21 +- ...1_1MPSolverParameters_1_1IntegerParam.html | 29 +- ...SolverParameters_1_1LpAlgorithmValues.html | 15 +- ...1MPSolverParameters_1_1PresolveValues.html | 13 +- ..._1MPSolverParameters_1_1ScalingValues.html | 19 +- ...nearsolver_1_1MPSolver_1_1BasisStatus.html | 20 +- ..._1MPSolver_1_1OptimizationProblemType.html | 33 +- ...earsolver_1_1MPSolver_1_1ResultStatus.html | 43 +- docs/java/hierarchy.html | 31 +- docs/java/inherit_graph_44.map | 2 +- docs/java/inherit_graph_44.md5 | 2 +- docs/java/inherit_graph_47.map | 2 +- docs/java/inherit_graph_47.md5 | 2 +- docs/java/inherit_graph_48.map | 2 +- docs/java/inherit_graph_48.md5 | 2 +- docs/java/inherit_graph_49.map | 2 +- docs/java/inherit_graph_49.md5 | 2 +- docs/java/inherit_graph_50.map | 2 +- docs/java/inherit_graph_50.md5 | 2 +- docs/java/inherit_graph_51.map | 2 +- docs/java/inherit_graph_51.md5 | 2 +- docs/java/inherit_graph_52.map | 2 +- docs/java/inherit_graph_52.md5 | 2 +- docs/java/inherit_graph_53.map | 2 +- docs/java/inherit_graph_53.md5 | 2 +- docs/java/inherit_graph_54.map | 2 +- docs/java/inherit_graph_54.md5 | 2 +- docs/java/inherit_graph_55.map | 2 +- docs/java/inherit_graph_55.md5 | 2 +- docs/java/inherit_graph_56.map | 2 +- docs/java/inherit_graph_56.md5 | 2 +- docs/java/inherit_graph_57.map | 2 +- docs/java/inherit_graph_57.md5 | 2 +- docs/java/inherit_graph_58.map | 2 +- docs/java/inherit_graph_58.md5 | 2 +- docs/java/inherit_graph_59.map | 2 +- docs/java/inherit_graph_59.md5 | 2 +- docs/java/inherits.html | 28 +- ...nearsolver_1_1MPModelRequestOrBuilder.html | 4 +- ...earch__linear__solverJNI_8java_source.html | 10 +- ..._1_1google_1_1ortools_1_1linearsolver.html | 6 + .../ortools/linear_solver/pywraplp.html | 1981 +++++++++++- docs/python/ortools/sat/python/cp_model.html | 161 +- ortools/linear_solver/linear_solver.h | 1317 +++++--- tools/doc/DoxygenLayout.xml | 2 +- tools/doc/cpp_linear.doxy | 6 +- 175 files changed, 20472 insertions(+), 2734 deletions(-) create mode 100644 docs/cpp_algorithms/boot.js create mode 100644 docs/cpp_linear/classoperations__research_1_1MPConstraint-members.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPConstraint.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPConstraint.js create mode 100644 docs/cpp_linear/classoperations__research_1_1MPObjective-members.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPObjective.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPObjective.js create mode 100644 docs/cpp_linear/classoperations__research_1_1MPSolver-members.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPSolver.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPSolver.js create mode 100644 docs/cpp_linear/classoperations__research_1_1MPSolverInterface-members.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPSolverInterface.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPSolverInterface.js create mode 100644 docs/cpp_linear/classoperations__research_1_1MPSolverParameters-members.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPSolverParameters.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPSolverParameters.js create mode 100644 docs/cpp_linear/classoperations__research_1_1MPVariable-members.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPVariable.html create mode 100644 docs/cpp_linear/classoperations__research_1_1MPVariable.js create mode 100644 docs/cpp_linear/functions_func_f.html create mode 100644 docs/cpp_linear/functions_func_q.html create mode 100644 docs/cpp_linear/functions_q.html create mode 100644 docs/cpp_linear/linear__solver_8h.js diff --git a/docs/cpp_algorithms/boot.js b/docs/cpp_algorithms/boot.js new file mode 100644 index 0000000000..b503db7894 --- /dev/null +++ b/docs/cpp_algorithms/boot.js @@ -0,0 +1,271 @@ +$( document ).ready(function() { + + $("div.headertitle").addClass("page-header"); + $("div.title").addClass("h1"); + + $('li > a[href="index.html"] > span').before(" "); + $('li > a[href="modules.html"] > span').before(" "); + $('li > a[href="namespaces.html"] > span').before(" "); + $('li > a[href="annotated.html"] > span').before(" "); + $('li > a[href="classes.html"] > span').before(" "); + $('li > a[href="inherits.html"] > span').before(" "); + $('li > a[href="functions.html"] > span').before(" "); + $('li > a[href="functions_func.html"] > span').before(" "); + $('li > a[href="functions_vars.html"] > span').before(" "); + $('li > a[href="functions_enum.html"] > span').before(" "); + $('li > a[href="functions_eval.html"] > span').before(" "); + $('img[src="ftv2ns.png"]').replaceWith('N '); + $('img[src="ftv2cl.png"]').replaceWith('C '); + + $("ul.tablist").addClass("nav nav-pills nav-justified"); + $("ul.tablist").css("margin-top", "0.5em"); + $("ul.tablist").css("margin-bottom", "0.5em"); + $("li.current").addClass("active"); + $("iframe").attr("scrolling", "yes"); + + $("#nav-path > ul").addClass("breadcrumb"); + + $("table.params").addClass("table"); + $("div.ingroups").wrapInner(""); + $("div.levels").css("margin", "0.5em"); + $("div.levels > span").addClass("btn btn-default btn-xs"); + $("div.levels > span").css("margin-right", "0.25em"); + + $("table.directory").addClass("table table-striped"); + $("div.summary > a").addClass("btn btn-default btn-xs"); + $("table.fieldtable").addClass("table"); + $(".fragment").addClass("well"); + $(".memitem").addClass("panel panel-default"); + $(".memproto").addClass("panel-heading"); + $(".memdoc").addClass("panel-body"); + $("span.mlabel").addClass("label label-info"); + + $("table.memberdecls").addClass("table"); + $("[class^=memitem]").addClass("active"); + + $("div.ah").addClass("btn btn-default"); + $("span.mlabels").addClass("pull-right"); + $("table.mlabels").css("width", "100%") + $("td.mlabels-right").addClass("pull-right"); + + $("div.ttc").addClass("panel panel-primary"); + $("div.ttname").addClass("panel-heading"); + $("div.ttname a").css("color", 'white'); + $("div.ttdef,div.ttdoc,div.ttdeci").addClass("panel-body"); + + $('div.fragment.well div.line:first').css('margin-top', '2px'); + $('div.fragment.well div.line:last').css('margin-bottom', '2px'); + + $('table.doxtable').removeClass('doxtable').addClass('table table-striped table-bordered').each(function(){ + $(this).prepend(''); + $(this).find('tbody > tr:first').prependTo($(this).find('thead')); + + $(this).find('td > span.success').parent().addClass('success'); + $(this).find('td > span.warning').parent().addClass('warning'); + $(this).find('td > span.danger').parent().addClass('danger'); + }); + + + + if($('div.fragment.well div.ttc').length > 0) + { + $('div.fragment.well div.line:first').parent().removeClass('fragment well'); + } + + $('table.memberdecls').find('.memItemRight').each(function(){ + $(this).contents().appendTo($(this).siblings('.memItemLeft')); + $(this).siblings('.memItemLeft').attr('align', 'left'); + }); + + $('table.memberdecls').find('.memTemplItemRight').each(function(){ + $(this).contents().appendTo($(this).siblings('.memTemplItemLeft')); + $(this).siblings('.memTemplItemLeft').attr('align', 'left'); + }); + + function getOriginalWidthOfImg(img_element) { + var t = new Image(); + t.src = (img_element.getAttribute ? img_element.getAttribute("src") : false) || img_element.src; + return t.width; + } + + $('div.dyncontent').find('img').each(function(){ + if(getOriginalWidthOfImg($(this)[0]) > $('#content>div.container').width()) + $(this).css('width', '100%'); + }); + + + /* responsive search box */ + $('#MSearchBox').parent().remove(); + + var nav_container = $('
'); + $('#navrow1').parent().prepend(nav_container); + + var left_nav = $('
'); + for (i = 0; i < 6; i++) { + var navrow = $('#navrow' + i + ' > ul.tablist').detach(); + left_nav.append(navrow); + $('#navrow' + i).remove(); + } + var right_nav = $('
').append('\ + '); + $(nav_container).append(left_nav); + $(nav_container).append(right_nav); + + $('#MSearchSelectWindow .SelectionMark').remove(); + var search_selectors = $('#MSearchSelectWindow .SelectItem'); + for (var i = 0; i < search_selectors.length; i += 1) { + var element_a = $('').text($(search_selectors[i]).text()); + + element_a.click(function(){ + $('#search-box .dropdown-menu li').removeClass('active'); + $(this).parent().addClass('active'); + searchBox.OnSelectItem($('#search-box li a').index(this)); + searchBox.Search(); + return false; + }); + + var element = $('
  • ').append(element_a); + $('#search-box .dropdown-menu').append(element); + } + $('#MSearchSelectWindow').remove(); + + $('#search-box .close').click(function (){ + searchBox.CloseResultsWindow(); + }); + + $('body').append('
    '); + $('body').append('
    '); + $('body').append('
    '); + + searchBox.searchLabel = ''; + searchBox.DOMSearchField = function() { + return document.getElementById("search-field"); + } + searchBox.DOMSearchClose = function(){ + return document.getElementById("search-close"); + } + + + /* search results */ + var results_iframe = $('#MSearchResults').detach(); + $('#MSearchResultsWindow') + .attr('id', 'search-results-window') + .addClass('panel panel-default') + .append( + '
    \ +

    Search Results

    \ +
    \ +
    ' + ); + $('#search-results-window .panel-body').append(results_iframe); + + searchBox.DOMPopupSearchResultsWindow = function() { + return document.getElementById("search-results-window"); + } + + function update_search_results_window() { + $('#search-results-window').removeClass('panel-default panel-success panel-warning panel-danger') + var status = $('#MSearchResults').contents().find('.SRStatus:visible'); + if (status.length > 0) { + switch(status.attr('id')) { + case 'Loading': + case 'Searching': + $('#search-results-window').addClass('panel-warning'); + break; + case 'NoMatches': + $('#search-results-window').addClass('panel-danger'); + break; + default: + $('#search-results-window').addClass('panel-default'); + } + } else { + $('#search-results-window').addClass('panel-success'); + } + } + $('#MSearchResults').load(function() { + $('#MSearchResults').contents().find('link[href="search.css"]').attr('href','../doxygen.css'); + $('#MSearchResults').contents().find('head').append( + ''); + + update_search_results_window(); + + // detect status changes (only for search with external search backend) + var observer = new MutationObserver(function(mutations) { + update_search_results_window(); + }); + var config = { attributes: true}; + + var targets = $('#MSearchResults').contents().find('.SRStatus'); + for (i = 0; i < targets.length; i++) { + observer.observe(targets[i], config); + } + }); + + + /* enumerations */ + $('table.fieldtable').removeClass('fieldtable').addClass('table table-striped table-bordered').each(function(){ + $(this).prepend(''); + $(this).find('tbody > tr:first').prependTo($(this).find('thead')); + + $(this).find('td > span.success').parent().addClass('success'); + $(this).find('td > span.warning').parent().addClass('warning'); + $(this).find('td > span.danger').parent().addClass('danger'); + }); + + /* todo list */ + var todoelements = $('.contents > .textblock > dl.reflist > dt, .contents > .textblock > dl.reflist > dd'); + for (var i = 0; i < todoelements.length; i += 2) { + $('.contents > .textblock').append( + '
    ' + + "
    " + $(todoelements[i]).html() + "
    " + + "
    " + $(todoelements[i+1]).html() + "
    " + + '
    '); + } + $('.contents > .textblock > dl').remove(); + + + $(".memitem").removeClass('memitem'); + $(".memproto").removeClass('memproto'); + $(".memdoc").removeClass('memdoc'); + $("span.mlabel").removeClass('mlabel'); + $("table.memberdecls").removeClass('memberdecls'); + $("[class^=memitem]").removeClass('memitem'); + $("span.mlabels").removeClass('mlabels'); + $("table.mlabels").removeClass('mlabels'); + $("td.mlabels-right").removeClass('mlabels-right'); + $(".navpath").removeClass('navpath'); + $("li.navelem").removeClass('navelem'); + $("a.el").removeClass('el'); + $("div.ah").removeClass('ah'); + $("div.header").removeClass("header"); + + $('.mdescLeft').each(function(){ + if($(this).html()==" ") { + $(this).siblings('.mdescRight').attr('colspan', 2); + $(this).remove(); + } + }); + $('td.memItemLeft').each(function(){ + if($(this).siblings('.memItemRight').html()=="") { + $(this).attr('colspan', 2); + $(this).siblings('.memItemRight').remove(); + } + }); + $('td.memTemplItemLeft').each(function(){ + if($(this).siblings('.memTemplItemRight').html()=="") { + $(this).attr('colspan', 2); + $(this).siblings('.memTemplItemRight').remove(); + } + }); + searchBox.CloseResultsWindow(); +}); \ No newline at end of file diff --git a/docs/cpp_linear.tag b/docs/cpp_linear.tag index 6e73e654bd..90f79d122d 100644 --- a/docs/cpp_linear.tag +++ b/docs/cpp_linear.tag @@ -5,6 +5,55 @@ /usr/local/google/home/lperron/Work/or-tools/ortools/linear_solver/ linear__solver_8h ortools/linear_solver/linear_solver.pb.h + operations_research::MPSolver + operations_research::MPObjective + operations_research::MPVariable + operations_research::MPConstraint + operations_research::MPSolverParameters + operations_research::MPSolverInterface + operations_research + + const absl::string_view + ToString + namespaceoperations__research.html + afc3e3b80841b587c6fbfd9e9f3ec9c59 + (MPSolver::OptimizationProblemType optimization_problem_type) + + + std::ostream & + operator<< + namespaceoperations__research.html + a2610f938f233d0adcd3142693f4a2683 + (std::ostream &os, MPSolver::OptimizationProblemType optimization_problem_type) + + + std::ostream & + operator<< + namespaceoperations__research.html + a6e3ed7b755e2b756ef48c9b3bad4a780 + (std::ostream &os, MPSolver::ResultStatus status) + + + bool + AbslParseFlag + namespaceoperations__research.html + a61dc18a85425d0a7cf6aa3e7ce3199f6 + (absl::string_view text, MPSolver::OptimizationProblemType *solver_type, std::string *error) + + + std::string + AbslUnparseFlag + namespaceoperations__research.html + af04d1dfc591c35038a974202e50e541f + (MPSolver::OptimizationProblemType solver_type) + + + constexpr double + kDefaultPrimalTolerance + namespaceoperations__research.html + a07189276cc680928dad51ed197142077 + + linear_solver.pb.h @@ -716,6 +765,234 @@ is_proto_enum< ::operations_research::MPSosConstraint_Type > structis__proto__enum_3_01_1_1operations__research_1_1MPSosConstraint__Type_01_4.html + + operations_research::MPConstraint + classoperations__research_1_1MPConstraint.html + + const std::string & + name + classoperations__research_1_1MPConstraint.html + a1cc4ca29f46883ebff5bdb2b624318a0 + () const + + + void + Clear + classoperations__research_1_1MPConstraint.html + a2ac836dbebc688c3ac5559fc33c20eb7 + () + + + void + SetCoefficient + classoperations__research_1_1MPConstraint.html + a7e9afe55140b2392a99e0e5ad3eab531 + (const MPVariable *const var, double coeff) + + + double + GetCoefficient + classoperations__research_1_1MPConstraint.html + a7f5fd19dabe1dbb767fc544fd6e95f26 + (const MPVariable *const var) const + + + const absl::flat_hash_map< const MPVariable *, double > & + terms + classoperations__research_1_1MPConstraint.html + a2d5d7e32b11a7edb4d810f2f10900b17 + () const + + + double + lb + classoperations__research_1_1MPConstraint.html + a4d254962fb2fe607c875f2b4e33c26ac + () const + + + double + ub + classoperations__research_1_1MPConstraint.html + a7e655031d93cbf4efbe827e3bd662ae7 + () const + + + void + SetLB + classoperations__research_1_1MPConstraint.html + a85c6d75f990f000e5863b83bd56e0e98 + (double lb) + + + void + SetUB + classoperations__research_1_1MPConstraint.html + a84c9d35dde8a2e1c7caccf88e9e86d60 + (double ub) + + + void + SetBounds + classoperations__research_1_1MPConstraint.html + abf8bbda7b4d608d011f88d2df83db881 + (double lb, double ub) + + + bool + is_lazy + classoperations__research_1_1MPConstraint.html + a1341c1b4cf65970cc414b18dfc7b7a52 + () const + + + void + set_is_lazy + classoperations__research_1_1MPConstraint.html + aabdeaba6d29ef030605a333cffc20c69 + (bool laziness) + + + const MPVariable * + indicator_variable + classoperations__research_1_1MPConstraint.html + a45532e8b56e4b92bb6363fc858d709ff + () const + + + bool + indicator_value + classoperations__research_1_1MPConstraint.html + ad1b4cc3f73a08cad0716015adffd188f + () const + + + int + index + classoperations__research_1_1MPConstraint.html + abdf2c9c953fd4d118e7871a716445600 + () const + + + double + dual_value + classoperations__research_1_1MPConstraint.html + ad1ee565a0efc50e3a515aeca73553493 + () const + + + MPSolver::BasisStatus + basis_status + classoperations__research_1_1MPConstraint.html + a8695f6bddabcff5af750918b919cab7a + () const + + + + MPConstraint + classoperations__research_1_1MPConstraint.html + adac818d5ad3d7e51129ba251491a5f46 + (int index, double lb, double ub, const std::string &name, MPSolverInterface *const interface_in) + + + void + set_dual_value + classoperations__research_1_1MPConstraint.html + a2a521156c4a2eafe918c36fbb386e9e8 + (double dual_value) + + + friend class + MPSolver + classoperations__research_1_1MPConstraint.html + ac2c01b4de8f7670e37daa7d42b804dd4 + + + + friend class + MPSolverInterface + classoperations__research_1_1MPConstraint.html + ac0aea0786e75adbb2d24c41c15e7456c + + + + friend class + CBCInterface + classoperations__research_1_1MPConstraint.html + af5a7cf0c655f37c0b388a2ddcf32ac3e + + + + friend class + CLPInterface + classoperations__research_1_1MPConstraint.html + a60944ecdcad88cfb4d4d32feea70c9b5 + + + + friend class + GLPKInterface + classoperations__research_1_1MPConstraint.html + ae1a3e0a695903c8e6effd524a7f92784 + + + + friend class + SCIPInterface + classoperations__research_1_1MPConstraint.html + a236f9752f4df4c5134617330a040ec8a + + + + friend class + SLMInterface + classoperations__research_1_1MPConstraint.html + a5c083b37243075a00bf909840dc7c933 + + + + friend class + GurobiInterface + classoperations__research_1_1MPConstraint.html + ac28a56eeedb62d070578a9231f1875ea + + + + friend class + CplexInterface + classoperations__research_1_1MPConstraint.html + ae7cbd08108e1636184f28c1a71c42393 + + + + friend class + GLOPInterface + classoperations__research_1_1MPConstraint.html + a6c754b527a347994b06eeb49a09ac222 + + + + friend class + BopInterface + classoperations__research_1_1MPConstraint.html + a7383308e6b9b63b18196798db342ce8a + + + + friend class + SatInterface + classoperations__research_1_1MPConstraint.html + acbd4413b1370baca9c45aecb0cb8ebd2 + + + + friend class + KnapsackInterface + classoperations__research_1_1MPConstraint.html + aee1ddf25e86286c16face31551751bda + + + operations_research::MPConstraintProto classoperations__research_1_1MPConstraintProto.html @@ -3317,6 +3594,220 @@ (MPModelRequest &a, MPModelRequest &b) + + operations_research::MPObjective + classoperations__research_1_1MPObjective.html + + void + Clear + classoperations__research_1_1MPObjective.html + a2131c9028ff6d7047c8272c3ea3e62e3 + () + + + void + SetCoefficient + classoperations__research_1_1MPObjective.html + aad1b0ca33b3a2c45d91e2875feb98c66 + (const MPVariable *const var, double coeff) + + + double + GetCoefficient + classoperations__research_1_1MPObjective.html + aba6c839cf1c09f5d48ff6072cd6b28c5 + (const MPVariable *const var) const + + + const absl::flat_hash_map< const MPVariable *, double > & + terms + classoperations__research_1_1MPObjective.html + ae1f99be84ce9efa28b4c1050af954835 + () const + + + void + SetOffset + classoperations__research_1_1MPObjective.html + a24611f7b12b571fe1e73b629a8a6c17b + (double value) + + + double + offset + classoperations__research_1_1MPObjective.html + a8d6bb2249af13a783033763d292763d4 + () const + + + void + OptimizeLinearExpr + classoperations__research_1_1MPObjective.html + ab1829576c2533e5de48b38447d9f6823 + (const LinearExpr &linear_expr, bool is_maximization) + + + void + MaximizeLinearExpr + classoperations__research_1_1MPObjective.html + a6927f7e28f694c55d72496c94a9a6b01 + (const LinearExpr &linear_expr) + + + void + MinimizeLinearExpr + classoperations__research_1_1MPObjective.html + a19a354c154bf034196d7a273feeff737 + (const LinearExpr &linear_expr) + + + void + AddLinearExpr + classoperations__research_1_1MPObjective.html + a9e03dec6fb0099d48a119dd525879dd7 + (const LinearExpr &linear_expr) + + + void + SetOptimizationDirection + classoperations__research_1_1MPObjective.html + add0f9517dc64b1f768952fc490f7be00 + (bool maximize) + + + void + SetMinimization + classoperations__research_1_1MPObjective.html + af9eea25e667a52dcad270495025e1202 + () + + + void + SetMaximization + classoperations__research_1_1MPObjective.html + a7f1396f72628328fd85ac852191fcc70 + () + + + bool + maximization + classoperations__research_1_1MPObjective.html + a883fc7ee2a166fc6ff257296f78e9565 + () const + + + bool + minimization + classoperations__research_1_1MPObjective.html + a700788b8583ef4c69730be08a1a3ac28 + () const + + + double + Value + classoperations__research_1_1MPObjective.html + a43fd3a9687cfef2591b22c96cbe02477 + () const + + + double + BestBound + classoperations__research_1_1MPObjective.html + a1ab47aaf7b73ae8a2664dd262227e3a9 + () const + + + friend class + MPSolver + classoperations__research_1_1MPObjective.html + ac2c01b4de8f7670e37daa7d42b804dd4 + + + + friend class + MPSolverInterface + classoperations__research_1_1MPObjective.html + ac0aea0786e75adbb2d24c41c15e7456c + + + + friend class + CBCInterface + classoperations__research_1_1MPObjective.html + af5a7cf0c655f37c0b388a2ddcf32ac3e + + + + friend class + CLPInterface + classoperations__research_1_1MPObjective.html + a60944ecdcad88cfb4d4d32feea70c9b5 + + + + friend class + GLPKInterface + classoperations__research_1_1MPObjective.html + ae1a3e0a695903c8e6effd524a7f92784 + + + + friend class + SCIPInterface + classoperations__research_1_1MPObjective.html + a236f9752f4df4c5134617330a040ec8a + + + + friend class + SLMInterface + classoperations__research_1_1MPObjective.html + a5c083b37243075a00bf909840dc7c933 + + + + friend class + GurobiInterface + classoperations__research_1_1MPObjective.html + ac28a56eeedb62d070578a9231f1875ea + + + + friend class + CplexInterface + classoperations__research_1_1MPObjective.html + ae7cbd08108e1636184f28c1a71c42393 + + + + friend class + GLOPInterface + classoperations__research_1_1MPObjective.html + a6c754b527a347994b06eeb49a09ac222 + + + + friend class + BopInterface + classoperations__research_1_1MPObjective.html + a7383308e6b9b63b18196798db342ce8a + + + + friend class + SatInterface + classoperations__research_1_1MPObjective.html + acbd4413b1370baca9c45aecb0cb8ebd2 + + + + friend class + KnapsackInterface + classoperations__research_1_1MPObjective.html + aee1ddf25e86286c16face31551751bda + + + operations_research::MPSolutionResponse classoperations__research_1_1MPSolutionResponse.html @@ -3825,6 +4316,809 @@ (MPSolutionResponse &a, MPSolutionResponse &b) + + operations_research::MPSolver + classoperations__research_1_1MPSolver.html + + + OptimizationProblemType + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2 + + + + CLP_LINEAR_PROGRAMMING + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2a91bb43cabe6c49465bd7138189f3ea84 + + + + GLOP_LINEAR_PROGRAMMING + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2a32049e26d1ea6f68624fc478b88d98c9 + + + + SCIP_MIXED_INTEGER_PROGRAMMING + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2a357b78ac84d42c93f2be55c89ed685dc + + + + CBC_MIXED_INTEGER_PROGRAMMING + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2a6f8b8f9d64ae299e8cfccf4917bf5282 + + + + BOP_INTEGER_PROGRAMMING + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2aaef5b33a2d88606a978524ebc7b1cb7b + + + + + ResultStatus + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192 + + + + OPTIMAL + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a7a765c1340de9cc37e22c68a2da7d390 + + + + FEASIBLE + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a5930d45ccc1bc78ad06bcd15cbca6a29 + + + + INFEASIBLE + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a84e96d7264feeb2b6577400bc379d9db + + + + UNBOUNDED + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a88c7283cc752b51ed05c21c73f8fe100 + + + + ABNORMAL + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192ae7c84444803ea46da465b68fb6e974fa + + + + MODEL_INVALID + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a0ce4e033c6bca973cb026780cdb7daa2 + + + + NOT_SOLVED + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a5c14184aabfffdb489347ab0486c8492 + + + + + BasisStatus + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743 + + + + FREE + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743a642d0b5abe3faed060b4ec237df381a0 + + + + AT_LOWER_BOUND + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743a32b9b4f5f09a5dbdeed585318e8d97f2 + + + + AT_UPPER_BOUND + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743a578f080f1d30ca7ce7ba6c5b050ddd56 + + + + FIXED_VALUE + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743aeca9b511e54f58239988d6affd62afa8 + + + + BASIC + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743a0185d5946c48b9852d8a02a7493f4dcf + + + + CLP_LINEAR_PROGRAMMING + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2a91bb43cabe6c49465bd7138189f3ea84 + + + + GLOP_LINEAR_PROGRAMMING + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2a32049e26d1ea6f68624fc478b88d98c9 + + + + SCIP_MIXED_INTEGER_PROGRAMMING + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2a357b78ac84d42c93f2be55c89ed685dc + + + + CBC_MIXED_INTEGER_PROGRAMMING + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2a6f8b8f9d64ae299e8cfccf4917bf5282 + + + + BOP_INTEGER_PROGRAMMING + classoperations__research_1_1MPSolver.html + a42c406c7e6fba381aa2bb41aae4b44f2aaef5b33a2d88606a978524ebc7b1cb7b + + + + OPTIMAL + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a7a765c1340de9cc37e22c68a2da7d390 + + + + FEASIBLE + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a5930d45ccc1bc78ad06bcd15cbca6a29 + + + + INFEASIBLE + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a84e96d7264feeb2b6577400bc379d9db + + + + UNBOUNDED + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a88c7283cc752b51ed05c21c73f8fe100 + + + + ABNORMAL + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192ae7c84444803ea46da465b68fb6e974fa + + + + MODEL_INVALID + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a0ce4e033c6bca973cb026780cdb7daa2 + + + + NOT_SOLVED + classoperations__research_1_1MPSolver.html + a16bca30fdb1b048d987631b757c63192a5c14184aabfffdb489347ab0486c8492 + + + + FREE + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743a642d0b5abe3faed060b4ec237df381a0 + + + + AT_LOWER_BOUND + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743a32b9b4f5f09a5dbdeed585318e8d97f2 + + + + AT_UPPER_BOUND + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743a578f080f1d30ca7ce7ba6c5b050ddd56 + + + + FIXED_VALUE + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743aeca9b511e54f58239988d6affd62afa8 + + + + BASIC + classoperations__research_1_1MPSolver.html + a7e2a34816b22749e70e23d26f49cf743a0185d5946c48b9852d8a02a7493f4dcf + + + + + MPSolver + classoperations__research_1_1MPSolver.html + ab6a8a6c57eefce8c07c8a52e053b035b + (const std::string &name, OptimizationProblemType problem_type) + + + virtual + ~MPSolver + classoperations__research_1_1MPSolver.html + aee7aedeeff79cd0645a5c7e8c0200834 + () + + + bool + IsMIP + classoperations__research_1_1MPSolver.html + a24caaef373d3715d5bce9fb0da2c203d + () const + + + const std::string & + Name + classoperations__research_1_1MPSolver.html + a1d6101b365c33fb1f73a4c953abeb0ed + () const + + + virtual OptimizationProblemType + ProblemType + classoperations__research_1_1MPSolver.html + a54e8b352edd37540f788c3fc473fa875 + () const + + + void + Clear + classoperations__research_1_1MPSolver.html + a4fb5381d2f4a764660365168622e4955 + () + + + int + NumVariables + classoperations__research_1_1MPSolver.html + a0ba0685c817d5c5910c80492dd1a7050 + () const + + + const std::vector< MPVariable * > & + variables + classoperations__research_1_1MPSolver.html + a1593ede4c9cd1da430f606127dc9a642 + () const + + + MPVariable * + LookupVariableOrNull + classoperations__research_1_1MPSolver.html + ae384aa3d9095f883a93f5e2e830e0077 + (const std::string &var_name) const + + + MPVariable * + MakeVar + classoperations__research_1_1MPSolver.html + ad6bb7605c749ba485b040b02a37f6728 + (double lb, double ub, bool integer, const std::string &name) + + + MPVariable * + MakeNumVar + classoperations__research_1_1MPSolver.html + a54d66e99fdc2424e812d910e7c2f225a + (double lb, double ub, const std::string &name) + + + MPVariable * + MakeIntVar + classoperations__research_1_1MPSolver.html + acf84ccc5151ce164a571d2f31f30960c + (double lb, double ub, const std::string &name) + + + MPVariable * + MakeBoolVar + classoperations__research_1_1MPSolver.html + a7176be8ce0481d880a8d30a2d7a1c09e + (const std::string &name) + + + void + MakeVarArray + classoperations__research_1_1MPSolver.html + a2c58f52acd6216131582c60aae3625ee + (int nb, double lb, double ub, bool integer, const std::string &name_prefix, std::vector< MPVariable * > *vars) + + + void + MakeNumVarArray + classoperations__research_1_1MPSolver.html + a7aebea4f022e7a685322e7db70b76e5e + (int nb, double lb, double ub, const std::string &name, std::vector< MPVariable * > *vars) + + + void + MakeIntVarArray + classoperations__research_1_1MPSolver.html + a5eefc88942fd284ff2962564224d5f8e + (int nb, double lb, double ub, const std::string &name, std::vector< MPVariable * > *vars) + + + void + MakeBoolVarArray + classoperations__research_1_1MPSolver.html + af5c55776ce47479f8904480cd815a6d5 + (int nb, const std::string &name, std::vector< MPVariable * > *vars) + + + int + NumConstraints + classoperations__research_1_1MPSolver.html + a16a3cee848c033e365ebb1cf50bb97cd + () const + + + const std::vector< MPConstraint * > & + constraints + classoperations__research_1_1MPSolver.html + aebc45909b1f377ab86295578ec417a17 + () const + + + MPConstraint * + LookupConstraintOrNull + classoperations__research_1_1MPSolver.html + a299502e4b0e4e6608330fdbe4fb86c94 + (const std::string &constraint_name) const + + + MPConstraint * + MakeRowConstraint + classoperations__research_1_1MPSolver.html + a9afcc9a30bf7c360066d7936c121acd0 + (double lb, double ub) + + + MPConstraint * + MakeRowConstraint + classoperations__research_1_1MPSolver.html + a9ef93893d198901ce104d74794dde123 + () + + + MPConstraint * + MakeRowConstraint + classoperations__research_1_1MPSolver.html + ac7dc5e8edf7f3a96c2faadc738d52c41 + (double lb, double ub, const std::string &name) + + + MPConstraint * + MakeRowConstraint + classoperations__research_1_1MPSolver.html + abad1058684a6996ba3035c0011b4cc41 + (const std::string &name) + + + MPConstraint * + MakeRowConstraint + classoperations__research_1_1MPSolver.html + ae31ac8b47142ee8685a39a608a9190d1 + (const LinearRange &range) + + + MPConstraint * + MakeRowConstraint + classoperations__research_1_1MPSolver.html + a4c54bb9041abac99c35b92dc5386b7a7 + (const LinearRange &range, const std::string &name) + + + const MPObjective & + Objective + classoperations__research_1_1MPSolver.html + a4834a6747544a7053110a0b20d79dac2 + () const + + + MPObjective * + MutableObjective + classoperations__research_1_1MPSolver.html + a467f89af3bae743dc9d628ee4e74f0c9 + () + + + ResultStatus + Solve + classoperations__research_1_1MPSolver.html + a1535b2a46d5cff6f9727c08085cfbb1f + () + + + ResultStatus + Solve + classoperations__research_1_1MPSolver.html + acfe9e4c330b12131b53d72f41506ddaf + (const MPSolverParameters &param) + + + void + Write + classoperations__research_1_1MPSolver.html + ad40ba327269cfff827f23ac4d94414d9 + (const std::string &file_name) + + + std::vector< double > + ComputeConstraintActivities + classoperations__research_1_1MPSolver.html + ad07e28e347a4b2d94d53ca96ae201d70 + () const + + + bool + VerifySolution + classoperations__research_1_1MPSolver.html + a2a4a0234b5830d4ea82d549b3b6b5baf + (double tolerance, bool log_errors) const + + + void + Reset + classoperations__research_1_1MPSolver.html + a0bade4bbf46f4e35513650d38a0a3208 + () + + + bool + InterruptSolve + classoperations__research_1_1MPSolver.html + a4413905b5839d17823e756cff10d0ffe + () + + + MPSolverResponseStatus + LoadModelFromProto + classoperations__research_1_1MPSolver.html + af9eb46d78f04fa12da7ac27c14becb7d + (const MPModelProto &input_model, std::string *error_message) + + + MPSolverResponseStatus + LoadModelFromProtoWithUniqueNamesOrDie + classoperations__research_1_1MPSolver.html + a51b5d57f310db13d800e4440ca3c0d0b + (const MPModelProto &input_model, std::string *error_message) + + + void + FillSolutionResponseProto + classoperations__research_1_1MPSolver.html + a91c69a1b2e9098f3835b9fe1c4fead59 + (MPSolutionResponse *response) const + + + void + ExportModelToProto + classoperations__research_1_1MPSolver.html + a9c8cc8b3c36fe9c08d8e0eefbc98b774 + (MPModelProto *output_model) const + + + util::Status + LoadSolutionFromProto + classoperations__research_1_1MPSolver.html + aa20b60665bd7e137dac446b2b1400838 + (const MPSolutionResponse &response, double tolerance=kDefaultPrimalTolerance) + + + util::Status + ClampSolutionWithinBounds + classoperations__research_1_1MPSolver.html + a27312cbf1394d779305d016e2ea2753e + () + + + bool + ExportModelAsLpFormat + classoperations__research_1_1MPSolver.html + a393a84863fe633baa3c7af4e71c8b147 + (bool obfuscate, std::string *model_str) const + + + bool + ExportModelAsMpsFormat + classoperations__research_1_1MPSolver.html + ae06ddd4e79e6a985b2644eff14747484 + (bool fixed_format, bool obfuscate, std::string *model_str) const + + + util::Status + SetNumThreads + classoperations__research_1_1MPSolver.html + a6394f5b0c08af038bfd9610d2bc4be90 + (int num_threads) + + + int + GetNumThreads + classoperations__research_1_1MPSolver.html + a88ddf26ba2c9524de319f6f307cfde60 + () const + + + bool + SetSolverSpecificParametersAsString + classoperations__research_1_1MPSolver.html + a532d2fb86e5cdc4710e1a168acbbe7f6 + (const std::string &parameters) + + + std::string + GetSolverSpecificParametersAsString + classoperations__research_1_1MPSolver.html + a64bc5e50054e619d3399956df3ed110f + () const + + + void + SetHint + classoperations__research_1_1MPSolver.html + abf4255929ea45766c51cf6138758b277 + (std::vector< std::pair< const MPVariable *, double > > hint) + + + void + SetStartingLpBasis + classoperations__research_1_1MPSolver.html + a11a76240b36c39f04ff64104c482990f + (const std::vector< MPSolver::BasisStatus > &variable_statuses, const std::vector< MPSolver::BasisStatus > &constraint_statuses) + + + bool + OutputIsEnabled + classoperations__research_1_1MPSolver.html + aa90a00b370b9abc4a43bfefd7f6a895b + () const + + + void + EnableOutput + classoperations__research_1_1MPSolver.html + abc2c48c807107ccfdfa8c1b50ae16c41 + () + + + void + SuppressOutput + classoperations__research_1_1MPSolver.html + abfaa014d3c3ca883e3c8a17110372801 + () + + + absl::Duration + TimeLimit + classoperations__research_1_1MPSolver.html + aae2fbd44c86451dadfc256f000772394 + () const + + + void + SetTimeLimit + classoperations__research_1_1MPSolver.html + a47a5516ca826adbc25bd5bf1d7935fd1 + (absl::Duration time_limit) + + + absl::Duration + DurationSinceConstruction + classoperations__research_1_1MPSolver.html + a6a68e7fab8751978c9faa30867f91241 + () const + + + int64 + iterations + classoperations__research_1_1MPSolver.html + a15001c5a8f5c0086dddcc4626a5a5ad7 + () const + + + int64 + nodes + classoperations__research_1_1MPSolver.html + a6837e7545ac2c5cfe95ca9a1c0f013e3 + () const + + + std::string + SolverVersion + classoperations__research_1_1MPSolver.html + aee22680c23e591329e9ac50ff78f572d + () const + + + void * + underlying_solver + classoperations__research_1_1MPSolver.html + a3d3bc5e39b383336fb3ca88b1a0c6cc5 + () + + + double + ComputeExactConditionNumber + classoperations__research_1_1MPSolver.html + a6390f93d9c4e88775d98ec8353ef0979 + () const + + + ABSL_MUST_USE_RESULT bool + NextSolution + classoperations__research_1_1MPSolver.html + a4b11747bf657bf074d1e710121810d13 + () + + + int64 + time_limit + classoperations__research_1_1MPSolver.html + a258c821fae2869693b58440145125aba + () const + + + void + set_time_limit + classoperations__research_1_1MPSolver.html + ae99e29fcc045ab27c8fecbdc422e6133 + (int64 time_limit_milliseconds) + + + double + time_limit_in_secs + classoperations__research_1_1MPSolver.html + a0177cee53f52d09df990920d532b0772 + () const + + + int64 + wall_time + classoperations__research_1_1MPSolver.html + a1ce69ce989942416f35a7d3577b5edd8 + () const + + + bool + OwnsVariable + classoperations__research_1_1MPSolver.html + a78606aaae8d97a0def488e696fdb2d2b + (const MPVariable *var) const + + + static bool + SupportsProblemType + classoperations__research_1_1MPSolver.html + ae96df0f02a46493eba93d2e70709911a + (OptimizationProblemType problem_type) + + + static bool + ParseSolverType + classoperations__research_1_1MPSolver.html + a650dd472cb06be9f9abcf5bc0833437d + (absl::string_view solver, OptimizationProblemType *type) + + + static void + SolveWithProto + classoperations__research_1_1MPSolver.html + a3aaa8bdb57173a9d933ed5f62bb60f42 + (const MPModelRequest &model_request, MPSolutionResponse *response) + + + static double + infinity + classoperations__research_1_1MPSolver.html + a5b15f7248e2b72d474bae0444a613033 + () + + + friend class + GLPKInterface + classoperations__research_1_1MPSolver.html + ae1a3e0a695903c8e6effd524a7f92784 + + + + friend class + CLPInterface + classoperations__research_1_1MPSolver.html + a60944ecdcad88cfb4d4d32feea70c9b5 + + + + friend class + CBCInterface + classoperations__research_1_1MPSolver.html + af5a7cf0c655f37c0b388a2ddcf32ac3e + + + + friend class + SCIPInterface + classoperations__research_1_1MPSolver.html + a236f9752f4df4c5134617330a040ec8a + + + + friend class + GurobiInterface + classoperations__research_1_1MPSolver.html + ac28a56eeedb62d070578a9231f1875ea + + + + friend class + CplexInterface + classoperations__research_1_1MPSolver.html + ae7cbd08108e1636184f28c1a71c42393 + + + + friend class + SLMInterface + classoperations__research_1_1MPSolver.html + a5c083b37243075a00bf909840dc7c933 + + + + friend class + MPSolverInterface + classoperations__research_1_1MPSolver.html + ac0aea0786e75adbb2d24c41c15e7456c + + + + friend class + GLOPInterface + classoperations__research_1_1MPSolver.html + a6c754b527a347994b06eeb49a09ac222 + + + + friend class + BopInterface + classoperations__research_1_1MPSolver.html + a7383308e6b9b63b18196798db342ce8a + + + + friend class + SatInterface + classoperations__research_1_1MPSolver.html + acbd4413b1370baca9c45aecb0cb8ebd2 + + + + friend class + KnapsackInterface + classoperations__research_1_1MPSolver.html + aee1ddf25e86286c16face31551751bda + + + operations_research::MPSolverCommonParameters classoperations__research_1_1MPSolverCommonParameters.html @@ -4396,6 +5690,1054 @@ (MPSolverCommonParameters &a, MPSolverCommonParameters &b) + + operations_research::MPSolverInterface + classoperations__research_1_1MPSolverInterface.html + + + SynchronizationStatus + classoperations__research_1_1MPSolverInterface.html + a912394f09fe0aee694df2e9c962853a0 + + + + MUST_RELOAD + classoperations__research_1_1MPSolverInterface.html + a912394f09fe0aee694df2e9c962853a0a5e5dccb6be46f13fd046ebf8dd63fc0b + + + + MODEL_SYNCHRONIZED + classoperations__research_1_1MPSolverInterface.html + a912394f09fe0aee694df2e9c962853a0abb904e2bd71f6c8f7612f5bb41a0b8f0 + + + + SOLUTION_SYNCHRONIZED + classoperations__research_1_1MPSolverInterface.html + a912394f09fe0aee694df2e9c962853a0a1a93fdf313f6e448af723eb80bbbb7ba + + + + MUST_RELOAD + classoperations__research_1_1MPSolverInterface.html + a912394f09fe0aee694df2e9c962853a0a5e5dccb6be46f13fd046ebf8dd63fc0b + + + + MODEL_SYNCHRONIZED + classoperations__research_1_1MPSolverInterface.html + a912394f09fe0aee694df2e9c962853a0abb904e2bd71f6c8f7612f5bb41a0b8f0 + + + + SOLUTION_SYNCHRONIZED + classoperations__research_1_1MPSolverInterface.html + a912394f09fe0aee694df2e9c962853a0a1a93fdf313f6e448af723eb80bbbb7ba + + + + + MPSolverInterface + classoperations__research_1_1MPSolverInterface.html + a152b3f16428c0a1c58247ba88d95f0a4 + (MPSolver *const solver) + + + virtual + ~MPSolverInterface + classoperations__research_1_1MPSolverInterface.html + acd4eda4c38c00ed2cf7908c29bb74de3 + () + + + virtual MPSolver::ResultStatus + Solve + classoperations__research_1_1MPSolverInterface.html + a99d3df0f2e02937e56473d9f3df68965 + (const MPSolverParameters &param)=0 + + + virtual void + Write + classoperations__research_1_1MPSolverInterface.html + a075910a059a214af934af08f3cba7db4 + (const std::string &filename) + + + virtual void + Reset + classoperations__research_1_1MPSolverInterface.html + ad4ce4ee159f4c2db5a02923c886c136b + ()=0 + + + virtual void + SetOptimizationDirection + classoperations__research_1_1MPSolverInterface.html + ac35b40e98fabb8bcd5e62cdd57678ff3 + (bool maximize)=0 + + + virtual void + SetVariableBounds + classoperations__research_1_1MPSolverInterface.html + af80b8873e1b07fedcac24c5704a889cf + (int index, double lb, double ub)=0 + + + virtual void + SetVariableInteger + classoperations__research_1_1MPSolverInterface.html + a5e445125231a8febc619d3a81cb8c12f + (int index, bool integer)=0 + + + virtual void + SetConstraintBounds + classoperations__research_1_1MPSolverInterface.html + ae63369de591dfd558df4c74c1143d84a + (int index, double lb, double ub)=0 + + + virtual void + AddRowConstraint + classoperations__research_1_1MPSolverInterface.html + a4c06cfd4d3c34ca0a96ad90f50a1abd8 + (MPConstraint *const ct)=0 + + + virtual bool + AddIndicatorConstraint + classoperations__research_1_1MPSolverInterface.html + aa38ec74a9f9beb650fbb88dece755ebd + (MPConstraint *const ct) + + + virtual void + AddVariable + classoperations__research_1_1MPSolverInterface.html + a94980bb46c791363fe9ce55d57e2a79a + (MPVariable *const var)=0 + + + virtual void + SetCoefficient + classoperations__research_1_1MPSolverInterface.html + a3ecddb0dba419349214fd4b021d2b9f6 + (MPConstraint *const constraint, const MPVariable *const variable, double new_value, double old_value)=0 + + + virtual void + ClearConstraint + classoperations__research_1_1MPSolverInterface.html + a38ad5df166aef299c76fac71eb785523 + (MPConstraint *const constraint)=0 + + + virtual void + SetObjectiveCoefficient + classoperations__research_1_1MPSolverInterface.html + ab54c763dfb19f258603711eddfe66bca + (const MPVariable *const variable, double coefficient)=0 + + + virtual void + SetObjectiveOffset + classoperations__research_1_1MPSolverInterface.html + a6a0b90433ed94679a6065000b384fb64 + (double value)=0 + + + virtual void + ClearObjective + classoperations__research_1_1MPSolverInterface.html + a1d0c4924c375cd234f4a17bf2b8c1a8b + ()=0 + + + virtual void + BranchingPriorityChangedForVariable + classoperations__research_1_1MPSolverInterface.html + a3038e118fcb2ccc9f0e2493cc48a1545 + (int var_index) + + + virtual int64 + iterations + classoperations__research_1_1MPSolverInterface.html + aa7ef7e2f076fc9208d13fdfb4ec33c76 + () const =0 + + + virtual int64 + nodes + classoperations__research_1_1MPSolverInterface.html + a6ca427f3c6266f86e41f4b5b1905c7d3 + () const =0 + + + virtual double + best_objective_bound + classoperations__research_1_1MPSolverInterface.html + a1e4b520fcd965a7a2b975035e1a906b5 + () const =0 + + + double + trivial_worst_objective_bound + classoperations__research_1_1MPSolverInterface.html + aec492297c32397c8a82490efb952e137 + () const + + + double + objective_value + classoperations__research_1_1MPSolverInterface.html + a9a71292f92599d3f96dc96543c24673d + () const + + + virtual MPSolver::BasisStatus + row_status + classoperations__research_1_1MPSolverInterface.html + aad9285c25e1671edfac7a7748b166770 + (int constraint_index) const =0 + + + virtual MPSolver::BasisStatus + column_status + classoperations__research_1_1MPSolverInterface.html + a5a2299c6d83d21a0917d0661fb704dbe + (int variable_index) const =0 + + + bool + CheckSolutionIsSynchronized + classoperations__research_1_1MPSolverInterface.html + a0fabe855ed7766a6ccddb63cbbfa3bc4 + () const + + + virtual bool + CheckSolutionExists + classoperations__research_1_1MPSolverInterface.html + a8f0df932d3bffc929a8b463fe9697431 + () const + + + bool + CheckSolutionIsSynchronizedAndExists + classoperations__research_1_1MPSolverInterface.html + ad792f0af5ffa1072f0d6a4d3d872f73a + () const + + + virtual bool + CheckBestObjectiveBoundExists + classoperations__research_1_1MPSolverInterface.html + a80e389070e3984f5333c4fd96311231b + () const + + + virtual bool + IsContinuous + classoperations__research_1_1MPSolverInterface.html + a77db27f245bbe7fec03763cb0f81210a + () const =0 + + + virtual bool + IsLP + classoperations__research_1_1MPSolverInterface.html + a8410c2213e0f2faec9a202b5b670ad6c + () const =0 + + + virtual bool + IsMIP + classoperations__research_1_1MPSolverInterface.html + a3cb924945c7c8ebd6964ba982ffdf276 + () const =0 + + + int + last_variable_index + classoperations__research_1_1MPSolverInterface.html + a4996e4f9b120ab70f4d2382e473dc852 + () const + + + bool + variable_is_extracted + classoperations__research_1_1MPSolverInterface.html + a8245f5863b87aa3f6e9ac19d29531a9a + (int var_index) const + + + void + set_variable_as_extracted + classoperations__research_1_1MPSolverInterface.html + a01fb82c6f72457879c0defb22ae9db47 + (int var_index, bool extracted) + + + bool + constraint_is_extracted + classoperations__research_1_1MPSolverInterface.html + a90947e6cbecd6bfff60feefa9ba37847 + (int ct_index) const + + + void + set_constraint_as_extracted + classoperations__research_1_1MPSolverInterface.html + a3c7ae564168e67c161f5111a060a604e + (int ct_index, bool extracted) + + + bool + quiet + classoperations__research_1_1MPSolverInterface.html + a86ce7eb3c7e1f5ca9822590f489ab708 + () const + + + void + set_quiet + classoperations__research_1_1MPSolverInterface.html + adc4579b45ae778e4c61b5c35cffc0eaf + (bool quiet_value) + + + MPSolver::ResultStatus + result_status + classoperations__research_1_1MPSolverInterface.html + a0e34bb4ed1518f8104e6f84592e68dc5 + () const + + + virtual std::string + SolverVersion + classoperations__research_1_1MPSolverInterface.html + a5e19196bab184ddaf66a7e34056cab48 + () const =0 + + + virtual void * + underlying_solver + classoperations__research_1_1MPSolverInterface.html + ad98f058f6721dba0ddeb4f82f7bc98ef + ()=0 + + + virtual double + ComputeExactConditionNumber + classoperations__research_1_1MPSolverInterface.html + afae6a55da4ebeb2d9c6eb55eeccbdc8b + () const + + + virtual void + SetStartingLpBasis + classoperations__research_1_1MPSolverInterface.html + ae60b6e41d8b3077d982e0347c85b802c + (const std::vector< MPSolver::BasisStatus > &variable_statuses, const std::vector< MPSolver::BasisStatus > &constraint_statuses) + + + virtual bool + InterruptSolve + classoperations__research_1_1MPSolverInterface.html + a5f9dc671c62b54a3940f2691f9953e67 + () + + + virtual bool + NextSolution + classoperations__research_1_1MPSolverInterface.html + a7f6e6fc6c25a04f49e3b95b7510c8369 + () + + + static const int64 + kUnknownNumberOfIterations + classoperations__research_1_1MPSolverInterface.html + a156255f5e27fd48b7ee43539b52f644f + + + + static const int64 + kUnknownNumberOfNodes + classoperations__research_1_1MPSolverInterface.html + a25b846bdb22eb75b6c0f3b9922556c46 + + + + void + ExtractModel + classoperations__research_1_1MPSolverInterface.html + a9ae99b901839c7f1e29193d8a619b728 + () + + + virtual void + ExtractNewVariables + classoperations__research_1_1MPSolverInterface.html + a945992529aaaa827d7c9307e996ab2ef + ()=0 + + + virtual void + ExtractNewConstraints + classoperations__research_1_1MPSolverInterface.html + a1363e1a1c4a1535b0cb92f46a9efd4b5 + ()=0 + + + virtual void + ExtractObjective + classoperations__research_1_1MPSolverInterface.html + a24085346a573695d2f3d224b726c5714 + ()=0 + + + void + ResetExtractionInformation + classoperations__research_1_1MPSolverInterface.html + a3fd73560f782eaf5093a435c61783d09 + () + + + void + InvalidateSolutionSynchronization + classoperations__research_1_1MPSolverInterface.html + a27ef26272b0444403e683b31605d88f7 + () + + + void + SetCommonParameters + classoperations__research_1_1MPSolverInterface.html + ad237855fa79fc36fbf9baedce589384c + (const MPSolverParameters &param) + + + void + SetMIPParameters + classoperations__research_1_1MPSolverInterface.html + ab7289f57fd0f768453f2817d59a20c80 + (const MPSolverParameters &param) + + + virtual void + SetParameters + classoperations__research_1_1MPSolverInterface.html + a6c1c1fc340f3f15e75745d7e6b0fe3df + (const MPSolverParameters &param)=0 + + + void + SetUnsupportedDoubleParam + classoperations__research_1_1MPSolverInterface.html + a861fc44ad0a6147a79dbcef606d34958 + (MPSolverParameters::DoubleParam param) + + + virtual void + SetUnsupportedIntegerParam + classoperations__research_1_1MPSolverInterface.html + a2b7834a656a48c094c34c13c60bd742c + (MPSolverParameters::IntegerParam param) + + + void + SetDoubleParamToUnsupportedValue + classoperations__research_1_1MPSolverInterface.html + aa5b34d05b6fbeb881404d4147b63d401 + (MPSolverParameters::DoubleParam param, double value) + + + virtual void + SetIntegerParamToUnsupportedValue + classoperations__research_1_1MPSolverInterface.html + a0e21cafe5af05431fa67ec7e9bfbf5ec + (MPSolverParameters::IntegerParam param, int value) + + + virtual void + SetRelativeMipGap + classoperations__research_1_1MPSolverInterface.html + a2b6fcec92ec397f38a9657d7d38a9e49 + (double value)=0 + + + virtual void + SetPrimalTolerance + classoperations__research_1_1MPSolverInterface.html + a119e0274303ed2eb0c80fcef960cfff0 + (double value)=0 + + + virtual void + SetDualTolerance + classoperations__research_1_1MPSolverInterface.html + abc5c8df36220fb85bf2c4f69b959ead9 + (double value)=0 + + + virtual void + SetPresolveMode + classoperations__research_1_1MPSolverInterface.html + a51ae167e111959ecbe3f67e0e12e2f09 + (int value)=0 + + + virtual util::Status + SetNumThreads + classoperations__research_1_1MPSolverInterface.html + ae6b5032ab0257e33006c4dee5249ad21 + (int num_threads) + + + virtual bool + SetSolverSpecificParametersAsString + classoperations__research_1_1MPSolverInterface.html + a9421cf0896b24513fb63283fac87de44 + (const std::string &parameters) + + + virtual bool + ReadParameterFile + classoperations__research_1_1MPSolverInterface.html + af3bee59eacd9c98d6f9240167cf3051f + (const std::string &filename) + + + virtual std::string + ValidFileExtensionForParameterFile + classoperations__research_1_1MPSolverInterface.html + a5220692ca2d4674d77045a27317bca3e + () const + + + virtual void + SetScalingMode + classoperations__research_1_1MPSolverInterface.html + aaaa84e64f7c29af15440e02189a362da + (int value)=0 + + + virtual void + SetLpAlgorithm + classoperations__research_1_1MPSolverInterface.html + a7cde757e7152aa06930afc59709c3c64 + (int value)=0 + + + MPSolver *const + solver_ + classoperations__research_1_1MPSolverInterface.html + ae27c5da090750971d680f2bf8f4f706b + + + + SynchronizationStatus + sync_status_ + classoperations__research_1_1MPSolverInterface.html + af7655248b40e336f843180b9ef37dc3c + + + + MPSolver::ResultStatus + result_status_ + classoperations__research_1_1MPSolverInterface.html + add7194b3e70938a6bb7fb8e7c6532e56 + + + + bool + maximize_ + classoperations__research_1_1MPSolverInterface.html + aaabe8c85cd90dd61e4c9de70667b0c16 + + + + int + last_constraint_index_ + classoperations__research_1_1MPSolverInterface.html + a577812bda95732730419025af875deb3 + + + + int + last_variable_index_ + classoperations__research_1_1MPSolverInterface.html + a45aa65ea825c85f885b0d8a0064af2f6 + + + + double + objective_value_ + classoperations__research_1_1MPSolverInterface.html + a9fbca54e7d25c2bfacfac1e47183e14f + + + + bool + quiet_ + classoperations__research_1_1MPSolverInterface.html + ac962e5cc7308644424829668241a8fcf + + + + static const int + kDummyVariableIndex + classoperations__research_1_1MPSolverInterface.html + a693c6f125a85b70fe94057be1cfd0819 + + + + friend class + MPSolver + classoperations__research_1_1MPSolverInterface.html + ac2c01b4de8f7670e37daa7d42b804dd4 + + + + friend class + MPConstraint + classoperations__research_1_1MPSolverInterface.html + a24102af97b3c7e803861e1d6983b1fea + + + + friend class + MPObjective + classoperations__research_1_1MPSolverInterface.html + a77dbe3a653f9c5d30e818000d92d8b17 + + + + + operations_research::MPSolverParameters + classoperations__research_1_1MPSolverParameters.html + + + DoubleParam + classoperations__research_1_1MPSolverParameters.html + a3834b74a8764c1c971e10ce9ba2f265e + + + + RELATIVE_MIP_GAP + classoperations__research_1_1MPSolverParameters.html + a3834b74a8764c1c971e10ce9ba2f265eaca78b129ceb19e286889b3274bb8cab3 + + + + PRIMAL_TOLERANCE + classoperations__research_1_1MPSolverParameters.html + a3834b74a8764c1c971e10ce9ba2f265ea57e959f9c5ede1f3e683169609fb0488 + + + + DUAL_TOLERANCE + classoperations__research_1_1MPSolverParameters.html + a3834b74a8764c1c971e10ce9ba2f265ea313eaed42edf309599e71ca7563cce22 + + + + + IntegerParam + classoperations__research_1_1MPSolverParameters.html + ac8f18a88f586c725cfffc613499926a0 + + + + PRESOLVE + classoperations__research_1_1MPSolverParameters.html + ac8f18a88f586c725cfffc613499926a0a1f92ab900139fd7649eace59942f1e0f + + + + LP_ALGORITHM + classoperations__research_1_1MPSolverParameters.html + ac8f18a88f586c725cfffc613499926a0a28abd1bbac3e861d5a74f841f8263e05 + + + + INCREMENTALITY + classoperations__research_1_1MPSolverParameters.html + ac8f18a88f586c725cfffc613499926a0a0ea983a7a805bc98c2cf9a1000c1ef95 + + + + SCALING + classoperations__research_1_1MPSolverParameters.html + ac8f18a88f586c725cfffc613499926a0ad5871c18d62c5e2e1e48a5420c13942f + + + + + PresolveValues + classoperations__research_1_1MPSolverParameters.html + a45d822ac67d10cc80b2f70fe6ec555a4 + + + + PRESOLVE_OFF + classoperations__research_1_1MPSolverParameters.html + a45d822ac67d10cc80b2f70fe6ec555a4a6e658228fc28195fb00675d3dfec2c85 + + + + PRESOLVE_ON + classoperations__research_1_1MPSolverParameters.html + a45d822ac67d10cc80b2f70fe6ec555a4ac8e04ac3295af6c505a22757490bb018 + + + + + LpAlgorithmValues + classoperations__research_1_1MPSolverParameters.html + ab297405e6084c08a9058012361376762 + + + + DUAL + classoperations__research_1_1MPSolverParameters.html + ab297405e6084c08a9058012361376762a2aca0e0bfd9807b5a938bb3bbc2bea07 + + + + PRIMAL + classoperations__research_1_1MPSolverParameters.html + ab297405e6084c08a9058012361376762a9fa228e5a51b8e22346b46d0f866e68d + + + + BARRIER + classoperations__research_1_1MPSolverParameters.html + ab297405e6084c08a9058012361376762af55a23df7a5ec299bb9ca742ef9004ed + + + + + IncrementalityValues + classoperations__research_1_1MPSolverParameters.html + ad58cb8cf98c288843ab0d1fd644f6116 + + + + INCREMENTALITY_OFF + classoperations__research_1_1MPSolverParameters.html + ad58cb8cf98c288843ab0d1fd644f6116a27013e436bfe1d34ebb6da476c590eee + + + + INCREMENTALITY_ON + classoperations__research_1_1MPSolverParameters.html + ad58cb8cf98c288843ab0d1fd644f6116aef000bbd88ef3ff2715d53a0e1dfbd37 + + + + + ScalingValues + classoperations__research_1_1MPSolverParameters.html + ae77fef975a893d6118d955ef2eb72ac9 + + + + SCALING_OFF + classoperations__research_1_1MPSolverParameters.html + ae77fef975a893d6118d955ef2eb72ac9a41abc3f52f70490cd997aa8debace24b + + + + SCALING_ON + classoperations__research_1_1MPSolverParameters.html + ae77fef975a893d6118d955ef2eb72ac9a33cf90a88928c32c5b56c9375d7dfd18 + + + + RELATIVE_MIP_GAP + classoperations__research_1_1MPSolverParameters.html + a3834b74a8764c1c971e10ce9ba2f265eaca78b129ceb19e286889b3274bb8cab3 + + + + PRIMAL_TOLERANCE + classoperations__research_1_1MPSolverParameters.html + a3834b74a8764c1c971e10ce9ba2f265ea57e959f9c5ede1f3e683169609fb0488 + + + + DUAL_TOLERANCE + classoperations__research_1_1MPSolverParameters.html + a3834b74a8764c1c971e10ce9ba2f265ea313eaed42edf309599e71ca7563cce22 + + + + PRESOLVE + classoperations__research_1_1MPSolverParameters.html + ac8f18a88f586c725cfffc613499926a0a1f92ab900139fd7649eace59942f1e0f + + + + LP_ALGORITHM + classoperations__research_1_1MPSolverParameters.html + ac8f18a88f586c725cfffc613499926a0a28abd1bbac3e861d5a74f841f8263e05 + + + + INCREMENTALITY + classoperations__research_1_1MPSolverParameters.html + ac8f18a88f586c725cfffc613499926a0a0ea983a7a805bc98c2cf9a1000c1ef95 + + + + SCALING + classoperations__research_1_1MPSolverParameters.html + ac8f18a88f586c725cfffc613499926a0ad5871c18d62c5e2e1e48a5420c13942f + + + + PRESOLVE_OFF + classoperations__research_1_1MPSolverParameters.html + a45d822ac67d10cc80b2f70fe6ec555a4a6e658228fc28195fb00675d3dfec2c85 + + + + PRESOLVE_ON + classoperations__research_1_1MPSolverParameters.html + a45d822ac67d10cc80b2f70fe6ec555a4ac8e04ac3295af6c505a22757490bb018 + + + + DUAL + classoperations__research_1_1MPSolverParameters.html + ab297405e6084c08a9058012361376762a2aca0e0bfd9807b5a938bb3bbc2bea07 + + + + PRIMAL + classoperations__research_1_1MPSolverParameters.html + ab297405e6084c08a9058012361376762a9fa228e5a51b8e22346b46d0f866e68d + + + + BARRIER + classoperations__research_1_1MPSolverParameters.html + ab297405e6084c08a9058012361376762af55a23df7a5ec299bb9ca742ef9004ed + + + + INCREMENTALITY_OFF + classoperations__research_1_1MPSolverParameters.html + ad58cb8cf98c288843ab0d1fd644f6116a27013e436bfe1d34ebb6da476c590eee + + + + INCREMENTALITY_ON + classoperations__research_1_1MPSolverParameters.html + ad58cb8cf98c288843ab0d1fd644f6116aef000bbd88ef3ff2715d53a0e1dfbd37 + + + + SCALING_OFF + classoperations__research_1_1MPSolverParameters.html + ae77fef975a893d6118d955ef2eb72ac9a41abc3f52f70490cd997aa8debace24b + + + + SCALING_ON + classoperations__research_1_1MPSolverParameters.html + ae77fef975a893d6118d955ef2eb72ac9a33cf90a88928c32c5b56c9375d7dfd18 + + + + + MPSolverParameters + classoperations__research_1_1MPSolverParameters.html + accb1cea31a73bd0b09bb75882baa9e5f + () + + + void + SetDoubleParam + classoperations__research_1_1MPSolverParameters.html + ab297ed394e3996ebb0cc43d931deaa16 + (MPSolverParameters::DoubleParam param, double value) + + + void + SetIntegerParam + classoperations__research_1_1MPSolverParameters.html + afcfb05b6d356807556f65f1b845897a8 + (MPSolverParameters::IntegerParam param, int value) + + + void + ResetDoubleParam + classoperations__research_1_1MPSolverParameters.html + a7bc16e5febd0604a3400572c0e35c490 + (MPSolverParameters::DoubleParam param) + + + void + ResetIntegerParam + classoperations__research_1_1MPSolverParameters.html + a100330795edeb8c1b12c7b8ff74611df + (MPSolverParameters::IntegerParam param) + + + void + Reset + classoperations__research_1_1MPSolverParameters.html + ada3cdf5254959f2807c3d27bb7e18e27 + () + + + double + GetDoubleParam + classoperations__research_1_1MPSolverParameters.html + a4423dd8b21b413522d8b91e4536cfa08 + (MPSolverParameters::DoubleParam param) const + + + int + GetIntegerParam + classoperations__research_1_1MPSolverParameters.html + ae9e67424e09a35840b4fda2942b94c6f + (MPSolverParameters::IntegerParam param) const + + + static const double + kDefaultDoubleParamValue + classoperations__research_1_1MPSolverParameters.html + af0e4fbb80499756bc3edf88fd495d7f7 + + + + static const int + kDefaultIntegerParamValue + classoperations__research_1_1MPSolverParameters.html + a9bac90a88459ac4dd9629beeada24a66 + + + + static const double + kUnknownDoubleParamValue + classoperations__research_1_1MPSolverParameters.html + a561c73d056eef04db4b4703abd972868 + + + + static const int + kUnknownIntegerParamValue + classoperations__research_1_1MPSolverParameters.html + a6c81985cecabbd5f054974d362db551a + + + + static const double + kDefaultRelativeMipGap + classoperations__research_1_1MPSolverParameters.html + ad6b31b12f9e1944b355809efd56fec98 + + + + static const double + kDefaultPrimalTolerance + classoperations__research_1_1MPSolverParameters.html + a3369c0b857cf02ddf742acc5ef1feec5 + + + + static const double + kDefaultDualTolerance + classoperations__research_1_1MPSolverParameters.html + a15fd57d45c522be9c8340ba9d1244e3f + + + + static const PresolveValues + kDefaultPresolve + classoperations__research_1_1MPSolverParameters.html + afc36c21bad2607b8d7bcba63b60d8681 + + + + static const IncrementalityValues + kDefaultIncrementality + classoperations__research_1_1MPSolverParameters.html + ac8d266a839e50968c11481a151f80ea9 + + + + static const double + kDefaultDoubleParamValue + classoperations__research_1_1MPSolverParameters.html + af0e4fbb80499756bc3edf88fd495d7f7 + + + + static const int + kDefaultIntegerParamValue + classoperations__research_1_1MPSolverParameters.html + a9bac90a88459ac4dd9629beeada24a66 + + + + static const double + kUnknownDoubleParamValue + classoperations__research_1_1MPSolverParameters.html + a561c73d056eef04db4b4703abd972868 + + + + static const int + kUnknownIntegerParamValue + classoperations__research_1_1MPSolverParameters.html + a6c81985cecabbd5f054974d362db551a + + + + static const double + kDefaultRelativeMipGap + classoperations__research_1_1MPSolverParameters.html + ad6b31b12f9e1944b355809efd56fec98 + + + + static const double + kDefaultPrimalTolerance + classoperations__research_1_1MPSolverParameters.html + a3369c0b857cf02ddf742acc5ef1feec5 + + + + static const double + kDefaultDualTolerance + classoperations__research_1_1MPSolverParameters.html + a15fd57d45c522be9c8340ba9d1244e3f + + + + static const PresolveValues + kDefaultPresolve + classoperations__research_1_1MPSolverParameters.html + afc36c21bad2607b8d7bcba63b60d8681 + + + + static const IncrementalityValues + kDefaultIncrementality + classoperations__research_1_1MPSolverParameters.html + ac8d266a839e50968c11481a151f80ea9 + + + operations_research::MPSosConstraint classoperations__research_1_1MPSosConstraint.html @@ -4848,6 +7190,234 @@ (MPSosConstraint &a, MPSosConstraint &b) + + operations_research::MPVariable + classoperations__research_1_1MPVariable.html + + const std::string & + name + classoperations__research_1_1MPVariable.html + a1d74db2a526fd2d8b4e11a4ed4ebf07d + () const + + + void + SetInteger + classoperations__research_1_1MPVariable.html + a02131c51847247fc3f620e4ccb439470 + (bool integer) + + + bool + integer + classoperations__research_1_1MPVariable.html + a044841d06c6de76db6f4978bf57898ec + () const + + + double + solution_value + classoperations__research_1_1MPVariable.html + a9c7aabb1c218e733e719ce2966939586 + () const + + + int + index + classoperations__research_1_1MPVariable.html + ac9676264a15bac7aae8db95344903b1f + () const + + + double + lb + classoperations__research_1_1MPVariable.html + a0d581a8129e4fc9779ee0b1172967563 + () const + + + double + ub + classoperations__research_1_1MPVariable.html + a1eeda5bea30b1e1f354c2919110e2ff9 + () const + + + void + SetLB + classoperations__research_1_1MPVariable.html + a0d23a28f31a3b667f21034551666430e + (double lb) + + + void + SetUB + classoperations__research_1_1MPVariable.html + a42590823a1b3343d0459cc7c564b9d69 + (double ub) + + + void + SetBounds + classoperations__research_1_1MPVariable.html + a5608a23aad7a48ea52ba3869b557d036 + (double lb, double ub) + + + double + unrounded_solution_value + classoperations__research_1_1MPVariable.html + af25c3940fd37705e63340d9269896dc0 + () const + + + double + reduced_cost + classoperations__research_1_1MPVariable.html + a0001ce8a3240bd00b49557594a809cdb + () const + + + MPSolver::BasisStatus + basis_status + classoperations__research_1_1MPVariable.html + abb491e237ace37cb5240cde3c3ff2958 + () const + + + int + branching_priority + classoperations__research_1_1MPVariable.html + a6d0e4798441493244b31f29ee5ac26ad + () const + + + void + SetBranchingPriority + classoperations__research_1_1MPVariable.html + a074f5b3c88658b91bd372a372db63627 + (int priority) + + + + MPVariable + classoperations__research_1_1MPVariable.html + abba28daa7e558932c40cf1a8ecb30194 + (int index, double lb, double ub, bool integer, const std::string &name, MPSolverInterface *const interface_in) + + + void + set_solution_value + classoperations__research_1_1MPVariable.html + a8f6294a83ae2d4bb0e6000981f8651a5 + (double value) + + + void + set_reduced_cost + classoperations__research_1_1MPVariable.html + a73eaa62d668195e9d894548d84f75fdb + (double reduced_cost) + + + friend class + MPSolver + classoperations__research_1_1MPVariable.html + ac2c01b4de8f7670e37daa7d42b804dd4 + + + + friend class + MPSolverInterface + classoperations__research_1_1MPVariable.html + ac0aea0786e75adbb2d24c41c15e7456c + + + + friend class + CBCInterface + classoperations__research_1_1MPVariable.html + af5a7cf0c655f37c0b388a2ddcf32ac3e + + + + friend class + CLPInterface + classoperations__research_1_1MPVariable.html + a60944ecdcad88cfb4d4d32feea70c9b5 + + + + friend class + GLPKInterface + classoperations__research_1_1MPVariable.html + ae1a3e0a695903c8e6effd524a7f92784 + + + + friend class + SCIPInterface + classoperations__research_1_1MPVariable.html + a236f9752f4df4c5134617330a040ec8a + + + + friend class + SLMInterface + classoperations__research_1_1MPVariable.html + a5c083b37243075a00bf909840dc7c933 + + + + friend class + GurobiInterface + classoperations__research_1_1MPVariable.html + ac28a56eeedb62d070578a9231f1875ea + + + + friend class + CplexInterface + classoperations__research_1_1MPVariable.html + ae7cbd08108e1636184f28c1a71c42393 + + + + friend class + GLOPInterface + classoperations__research_1_1MPVariable.html + a6c754b527a347994b06eeb49a09ac222 + + + + friend class + MPVariableSolutionValueTest + classoperations__research_1_1MPVariable.html + a8844020cc1376123531cd53c831acdef + + + + friend class + BopInterface + classoperations__research_1_1MPVariable.html + a7383308e6b9b63b18196798db342ce8a + + + + friend class + SatInterface + classoperations__research_1_1MPVariable.html + acbd4413b1370baca9c45aecb0cb8ebd2 + + + + friend class + KnapsackInterface + classoperations__research_1_1MPVariable.html + aee1ddf25e86286c16face31551751bda + + + operations_research::MPVariableProto classoperations__research_1_1MPVariableProto.html @@ -6005,15 +8575,21 @@ operations_research namespaceoperations__research.html + operations_research::MPConstraint operations_research::MPConstraintProto operations_research::MPGeneralConstraintProto operations_research::MPIndicatorConstraint operations_research::MPModelExportOptions operations_research::MPModelProto operations_research::MPModelRequest + operations_research::MPObjective operations_research::MPSolutionResponse + operations_research::MPSolver operations_research::MPSolverCommonParameters + operations_research::MPSolverInterface + operations_research::MPSolverParameters operations_research::MPSosConstraint + operations_research::MPVariable operations_research::MPVariableProto operations_research::OptionalDouble operations_research::PartialVariableAssignment @@ -6231,6 +8807,41 @@ a8cc975b7db5017319901da0f63a114aaafa008125099beaab382c42682be6bbf9 + + const absl::string_view + ToString + namespaceoperations__research.html + afc3e3b80841b587c6fbfd9e9f3ec9c59 + (MPSolver::OptimizationProblemType optimization_problem_type) + + + std::ostream & + operator<< + namespaceoperations__research.html + a2610f938f233d0adcd3142693f4a2683 + (std::ostream &os, MPSolver::OptimizationProblemType optimization_problem_type) + + + std::ostream & + operator<< + namespaceoperations__research.html + a6e3ed7b755e2b756ef48c9b3bad4a780 + (std::ostream &os, MPSolver::ResultStatus status) + + + bool + AbslParseFlag + namespaceoperations__research.html + a61dc18a85425d0a7cf6aa3e7ce3199f6 + (absl::string_view text, MPSolver::OptimizationProblemType *solver_type, std::string *error) + + + std::string + AbslUnparseFlag + namespaceoperations__research.html + af04d1dfc591c35038a974202e50e541f + (MPSolver::OptimizationProblemType solver_type) + util::StatusOr< std::string > ExportModelAsLpFormat @@ -6385,6 +8996,13 @@ a22b5756cf719f9b2d10dae67820cf885 (const std::string &name, MPSolverResponseStatus *value) + + constexpr double + kDefaultPrimalTolerance + namespaceoperations__research.html + a07189276cc680928dad51ed197142077 + + MPConstraintProtoDefaultTypeInternal _MPConstraintProto_default_instance_ diff --git a/docs/cpp_linear/annotated.html b/docs/cpp_linear/annotated.html index 3e325596e1..da8caa4a45 100644 --- a/docs/cpp_linear/annotated.html +++ b/docs/cpp_linear/annotated.html @@ -49,24 +49,30 @@ $(document).ready(function(){initNavTree('annotated.html','');});
    Here are the classes, structs, unions and interfaces with brief descriptions:
    [detail level 12]
    - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - +
     Noperations_researchLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License
     CMPConstraintProto
     CMPGeneralConstraintProto
     CMPIndicatorConstraint
     CMPModelExportOptions
     CMPModelProto
     CMPModelRequest
     CMPSolutionResponse
     CMPSolverCommonParameters
     CMPSosConstraint
     CMPVariableProto
     COptionalDouble
     CPartialVariableAssignment
     Noperations_research
     CMPConstraintThe class for constraints of a Mathematical Programming (MP) model
     CMPConstraintProto
     CMPGeneralConstraintProto
     CMPIndicatorConstraint
     CMPModelExportOptions
     CMPModelProto
     CMPModelRequest
     CMPObjectiveA class to express a linear objective
     CMPSolutionResponse
     CMPSolverThis mathematical programming (MP) solver class is the main class though which users build and solve problems
     CMPSolverCommonParameters
     CMPSolverInterface
     CMPSolverParametersThis class stores parameter settings for LP and MIP solvers
     CMPSosConstraint
     CMPVariableThe class for variables of a Mathematical Programming (MP) model
     CMPVariableProto
     COptionalDouble
     CPartialVariableAssignment
     Cis_proto_enum< ::operations_research::MPModelRequest_SolverType >
     Cis_proto_enum< ::operations_research::MPSolverCommonParameters_LPAlgorithmValues >
     Cis_proto_enum< ::operations_research::MPSolverResponseStatus >
     Cis_proto_enum< ::operations_research::MPSosConstraint_Type >
     CTableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eprotoInternal implementation detail – do not use these members
     CTableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
    diff --git a/docs/cpp_linear/classes.html b/docs/cpp_linear/classes.html index 0e4ec8b596..6a5a5905cd 100644 --- a/docs/cpp_linear/classes.html +++ b/docs/cpp_linear/classes.html @@ -50,19 +50,21 @@ $(document).ready(function(){initNavTree('classes.html','');});
    i | m | o | p | t
    + + - - - + + - - + + - - + +
      i  
    -
    MPGeneralConstraintProto (operations_research)   
      o  
    +
    MPIndicatorConstraint (operations_research)   MPVariable (operations_research)   
    MPModelExportOptions (operations_research)   MPVariableProto (operations_research)   
    is_proto_enum< ::operations_research::MPModelRequest_SolverType >   MPModelProto (operations_research)   
      o  
    MPIndicatorConstraint (operations_research)   
    is_proto_enum< ::operations_research::MPModelRequest_SolverType >   MPModelExportOptions (operations_research)   OptionalDouble (operations_research)   
    is_proto_enum< ::operations_research::MPSolverCommonParameters_LPAlgorithmValues >   MPModelProto (operations_research)   
      p  
    +
    is_proto_enum< ::operations_research::MPSolverCommonParameters_LPAlgorithmValues >   MPModelRequest (operations_research)   
    is_proto_enum< ::operations_research::MPSolverResponseStatus >   MPObjective (operations_research)   OptionalDouble (operations_research)   
    is_proto_enum< ::operations_research::MPSosConstraint_Type >   MPSolutionResponse (operations_research)   
      p  
    is_proto_enum< ::operations_research::MPSolverResponseStatus >   MPModelRequest (operations_research)   
    is_proto_enum< ::operations_research::MPSosConstraint_Type >   MPSolutionResponse (operations_research)   PartialVariableAssignment (operations_research)   
      m  
    -
    MPSolverCommonParameters (operations_research)   
      t  
    +
    MPSolver (operations_research)   
    MPSolverCommonParameters (operations_research)   PartialVariableAssignment (operations_research)   
    MPConstraint (operations_research)   MPSolverInterface (operations_research)   
      t  
    MPSosConstraint (operations_research)   
    MPConstraintProto (operations_research)   MPVariableProto (operations_research)   TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto   
    MPConstraintProto (operations_research)   MPSolverParameters (operations_research)   
    MPGeneralConstraintProto (operations_research)   MPSosConstraint (operations_research)   TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto   
    i | m | o | p | t
    diff --git a/docs/cpp_linear/classoperations__research_1_1MPConstraint-members.html b/docs/cpp_linear/classoperations__research_1_1MPConstraint-members.html new file mode 100644 index 0000000000..f64e6cb308 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPConstraint-members.html @@ -0,0 +1,93 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    +
    +
    operations_research::MPConstraint Member List
    +
    +
    + +

    This is the complete list of members for operations_research::MPConstraint, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    basis_status() constoperations_research::MPConstraint
    BopInterface classoperations_research::MPConstraintfriend
    CBCInterface classoperations_research::MPConstraintfriend
    Clear()operations_research::MPConstraint
    CLPInterface classoperations_research::MPConstraintfriend
    CplexInterface classoperations_research::MPConstraintfriend
    dual_value() constoperations_research::MPConstraint
    GetCoefficient(const MPVariable *const var) constoperations_research::MPConstraint
    GLOPInterface classoperations_research::MPConstraintfriend
    GLPKInterface classoperations_research::MPConstraintfriend
    GurobiInterface classoperations_research::MPConstraintfriend
    index() constoperations_research::MPConstraintinline
    indicator_value() constoperations_research::MPConstraintinline
    indicator_variable() constoperations_research::MPConstraintinline
    is_lazy() constoperations_research::MPConstraintinline
    KnapsackInterface classoperations_research::MPConstraintfriend
    lb() constoperations_research::MPConstraintinline
    MPConstraint(int index, double lb, double ub, const std::string &name, MPSolverInterface *const interface_in)operations_research::MPConstraintinlineprotected
    MPSolver classoperations_research::MPConstraintfriend
    MPSolverInterface classoperations_research::MPConstraintfriend
    name() constoperations_research::MPConstraintinline
    SatInterface classoperations_research::MPConstraintfriend
    SCIPInterface classoperations_research::MPConstraintfriend
    set_dual_value(double dual_value)operations_research::MPConstraintinlineprotected
    set_is_lazy(bool laziness)operations_research::MPConstraintinline
    SetBounds(double lb, double ub)operations_research::MPConstraint
    SetCoefficient(const MPVariable *const var, double coeff)operations_research::MPConstraint
    SetLB(double lb)operations_research::MPConstraintinline
    SetUB(double ub)operations_research::MPConstraintinline
    SLMInterface classoperations_research::MPConstraintfriend
    terms() constoperations_research::MPConstraintinline
    ub() constoperations_research::MPConstraintinline
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPConstraint.html b/docs/cpp_linear/classoperations__research_1_1MPConstraint.html new file mode 100644 index 0000000000..61bf352d0b --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPConstraint.html @@ -0,0 +1,1023 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    + +
    +
    operations_research::MPConstraint Class Reference
    +
    +
    +

    Detailed Description

    +

    The class for constraints of a Mathematical Programming (MP) model.

    +

    A constraint is represented as a linear equation or inequality.

    + +

    Definition at line 1206 of file linear_solver.h.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

    const std::string & name () const
     Returns the name of the constraint. More...
     
    void Clear ()
     Clears all variables and coefficients. More...
     
    void SetCoefficient (const MPVariable *const var, double coeff)
     Sets the coefficient of the variable on the constraint. More...
     
    double GetCoefficient (const MPVariable *const var) const
     Gets the coefficient of a given variable on the constraint (which is 0 if the variable does not appear in the constraint). More...
     
    const absl::flat_hash_map< const MPVariable *, double > & terms () const
     Returns a map from variables to their coefficients in the constraint. More...
     
    double lb () const
     Returns the lower bound. More...
     
    double ub () const
     Returns the upper bound. More...
     
    void SetLB (double lb)
     Sets the lower bound. More...
     
    void SetUB (double ub)
     Sets the upper bound. More...
     
    void SetBounds (double lb, double ub)
     Sets both the lower and upper bounds. More...
     
    bool is_lazy () const
     Advanced usage: returns true if the constraint is "lazy" (see below). More...
     
    void set_is_lazy (bool laziness)
     Advanced usage: sets the constraint "laziness". More...
     
    const MPVariableindicator_variable () const
     
    bool indicator_value () const
     
    int index () const
     Returns the index of the constraint in the MPSolver::constraints_. More...
     
    double dual_value () const
     Advanced usage: returns the dual value of the constraint in the current solution (only available for continuous problems). More...
     
    MPSolver::BasisStatus basis_status () const
     Advanced usage: returns the basis status of the constraint. More...
     
    + + + + + +

    +Protected Member Functions

     MPConstraint (int index, double lb, double ub, const std::string &name, MPSolverInterface *const interface_in)
     
    void set_dual_value (double dual_value)
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Friends

    class MPSolver
     
    class MPSolverInterface
     
    class CBCInterface
     
    class CLPInterface
     
    class GLPKInterface
     
    class SCIPInterface
     
    class SLMInterface
     
    class GurobiInterface
     
    class CplexInterface
     
    class GLOPInterface
     
    class BopInterface
     
    class SatInterface
     
    class KnapsackInterface
     
    +

    Constructor & Destructor Documentation

    + +

    ◆ MPConstraint()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    operations_research::MPConstraint::MPConstraint (int index,
    double lb,
    double ub,
    const std::string & name,
    MPSolverInterface *const interface_in 
    )
    +
    +inlineprotected
    +
    + +

    Definition at line 1331 of file linear_solver.h.

    + +
    +
    +

    Member Function Documentation

    + +

    ◆ basis_status()

    + +
    +
    + + + + + + + +
    MPSolver::BasisStatus operations_research::MPConstraint::basis_status () const
    +
    + +

    Advanced usage: returns the basis status of the constraint.

    +

    It is only available for continuous problems).

    +

    Note that if a constraint "linear_expression in [lb, ub]" is transformed into "linear_expression + slack = 0" with slack in [-ub, -lb], then this status is the same as the status of the slack variable with AT_UPPER_BOUND and AT_LOWER_BOUND swapped.

    +
    See also
    MPSolver::BasisStatus.
    + +
    +
    + +

    ◆ Clear()

    + +
    +
    + + + + + + + +
    void operations_research::MPConstraint::Clear ()
    +
    + +

    Clears all variables and coefficients.

    +

    Does not clear the bounds.

    + +
    +
    + +

    ◆ dual_value()

    + +
    +
    + + + + + + + +
    double operations_research::MPConstraint::dual_value () const
    +
    + +

    Advanced usage: returns the dual value of the constraint in the current solution (only available for continuous problems).

    + +
    +
    + +

    ◆ GetCoefficient()

    + +
    +
    + + + + + + + + +
    double operations_research::MPConstraint::GetCoefficient (const MPVariable *const var) const
    +
    + +

    Gets the coefficient of a given variable on the constraint (which is 0 if the variable does not appear in the constraint).

    + +
    +
    + +

    ◆ index()

    + +
    +
    + + + + + +
    + + + + + + + +
    int operations_research::MPConstraint::index () const
    +
    +inline
    +
    + +

    Returns the index of the constraint in the MPSolver::constraints_.

    + +

    Definition at line 1291 of file linear_solver.h.

    + +
    +
    + +

    ◆ indicator_value()

    + +
    +
    + + + + + +
    + + + + + + + +
    bool operations_research::MPConstraint::indicator_value () const
    +
    +inline
    +
    + +

    Definition at line 1286 of file linear_solver.h.

    + +
    +
    + +

    ◆ indicator_variable()

    + +
    +
    + + + + + +
    + + + + + + + +
    const MPVariable* operations_research::MPConstraint::indicator_variable () const
    +
    +inline
    +
    + +

    Definition at line 1285 of file linear_solver.h.

    + +
    +
    + +

    ◆ is_lazy()

    + +
    +
    + + + + + +
    + + + + + + + +
    bool operations_research::MPConstraint::is_lazy () const
    +
    +inline
    +
    + +

    Advanced usage: returns true if the constraint is "lazy" (see below).

    + +

    Definition at line 1269 of file linear_solver.h.

    + +
    +
    + +

    ◆ lb()

    + +
    +
    + + + + + +
    + + + + + + + +
    double operations_research::MPConstraint::lb () const
    +
    +inline
    +
    + +

    Returns the lower bound.

    + +

    Definition at line 1244 of file linear_solver.h.

    + +
    +
    + +

    ◆ name()

    + +
    +
    + + + + + +
    + + + + + + + +
    const std::string& operations_research::MPConstraint::name () const
    +
    +inline
    +
    + +

    Returns the name of the constraint.

    + +

    Definition at line 1211 of file linear_solver.h.

    + +
    +
    + +

    ◆ set_dual_value()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPConstraint::set_dual_value (double dual_value)
    +
    +inlineprotected
    +
    + +

    Definition at line 1343 of file linear_solver.h.

    + +
    +
    + +

    ◆ set_is_lazy()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPConstraint::set_is_lazy (bool laziness)
    +
    +inline
    +
    + +

    Advanced usage: sets the constraint "laziness".

    +

    This is only supported for SCIP and has no effect on other solvers.

    +

    When laziness is true, the constraint is only considered by the Linear Programming solver if its current solution violates the constraint. In this case, the constraint is definitively added to the problem. This may be useful in some MIP problems, and may have a dramatic impact on performance.

    +

    For more info see: http://tinyurl.com/lazy-constraints.

    + +

    Definition at line 1283 of file linear_solver.h.

    + +
    +
    + +

    ◆ SetBounds()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPConstraint::SetBounds (double lb,
    double ub 
    )
    +
    + +

    Sets both the lower and upper bounds.

    + +
    +
    + +

    ◆ SetCoefficient()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPConstraint::SetCoefficient (const MPVariable *const var,
    double coeff 
    )
    +
    + +

    Sets the coefficient of the variable on the constraint.

    +

    If the variable does not belong to the solver, the function just returns, or crashes in non-opt mode.

    + +
    +
    + +

    ◆ SetLB()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPConstraint::SetLB (double lb)
    +
    +inline
    +
    + +

    Sets the lower bound.

    + +

    Definition at line 1254 of file linear_solver.h.

    + +
    +
    + +

    ◆ SetUB()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPConstraint::SetUB (double ub)
    +
    +inline
    +
    + +

    Sets the upper bound.

    + +

    Definition at line 1259 of file linear_solver.h.

    + +
    +
    + +

    ◆ terms()

    + +
    +
    + + + + + +
    + + + + + + + +
    const absl::flat_hash_map<const MPVariable*, double>& operations_research::MPConstraint::terms () const
    +
    +inline
    +
    + +

    Returns a map from variables to their coefficients in the constraint.

    +

    If a variable is not present in the map, then its coefficient is zero.

    + +

    Definition at line 1237 of file linear_solver.h.

    + +
    +
    + +

    ◆ ub()

    + +
    +
    + + + + + +
    + + + + + + + +
    double operations_research::MPConstraint::ub () const
    +
    +inline
    +
    + +

    Returns the upper bound.

    + +

    Definition at line 1249 of file linear_solver.h.

    + +
    +
    +

    Friends And Related Function Documentation

    + +

    ◆ BopInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class BopInterface
    +
    +friend
    +
    + +

    Definition at line 1324 of file linear_solver.h.

    + +
    +
    + +

    ◆ CBCInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CBCInterface
    +
    +friend
    +
    + +

    Definition at line 1316 of file linear_solver.h.

    + +
    +
    + +

    ◆ CLPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CLPInterface
    +
    +friend
    +
    + +

    Definition at line 1317 of file linear_solver.h.

    + +
    +
    + +

    ◆ CplexInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CplexInterface
    +
    +friend
    +
    + +

    Definition at line 1322 of file linear_solver.h.

    + +
    +
    + +

    ◆ GLOPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GLOPInterface
    +
    +friend
    +
    + +

    Definition at line 1323 of file linear_solver.h.

    + +
    +
    + +

    ◆ GLPKInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GLPKInterface
    +
    +friend
    +
    + +

    Definition at line 1318 of file linear_solver.h.

    + +
    +
    + +

    ◆ GurobiInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GurobiInterface
    +
    +friend
    +
    + +

    Definition at line 1321 of file linear_solver.h.

    + +
    +
    + +

    ◆ KnapsackInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class KnapsackInterface
    +
    +friend
    +
    + +

    Definition at line 1326 of file linear_solver.h.

    + +
    +
    + +

    ◆ MPSolver

    + +
    +
    + + + + + +
    + + + + +
    friend class MPSolver
    +
    +friend
    +
    + +

    Definition at line 1314 of file linear_solver.h.

    + +
    +
    + +

    ◆ MPSolverInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class MPSolverInterface
    +
    +friend
    +
    + +

    Definition at line 1315 of file linear_solver.h.

    + +
    +
    + +

    ◆ SatInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SatInterface
    +
    +friend
    +
    + +

    Definition at line 1325 of file linear_solver.h.

    + +
    +
    + +

    ◆ SCIPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SCIPInterface
    +
    +friend
    +
    + +

    Definition at line 1319 of file linear_solver.h.

    + +
    +
    + +

    ◆ SLMInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SLMInterface
    +
    +friend
    +
    + +

    Definition at line 1320 of file linear_solver.h.

    + +
    +
    +
    The documentation for this class was generated from the following file: +
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPConstraint.js b/docs/cpp_linear/classoperations__research_1_1MPConstraint.js new file mode 100644 index 0000000000..c2087afed6 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPConstraint.js @@ -0,0 +1,35 @@ +var classoperations__research_1_1MPConstraint = +[ + [ "MPConstraint", "classoperations__research_1_1MPConstraint.html#adac818d5ad3d7e51129ba251491a5f46", null ], + [ "basis_status", "classoperations__research_1_1MPConstraint.html#a8695f6bddabcff5af750918b919cab7a", null ], + [ "Clear", "classoperations__research_1_1MPConstraint.html#a2ac836dbebc688c3ac5559fc33c20eb7", null ], + [ "dual_value", "classoperations__research_1_1MPConstraint.html#ad1ee565a0efc50e3a515aeca73553493", null ], + [ "GetCoefficient", "classoperations__research_1_1MPConstraint.html#a7f5fd19dabe1dbb767fc544fd6e95f26", null ], + [ "index", "classoperations__research_1_1MPConstraint.html#abdf2c9c953fd4d118e7871a716445600", null ], + [ "indicator_value", "classoperations__research_1_1MPConstraint.html#ad1b4cc3f73a08cad0716015adffd188f", null ], + [ "indicator_variable", "classoperations__research_1_1MPConstraint.html#a45532e8b56e4b92bb6363fc858d709ff", null ], + [ "is_lazy", "classoperations__research_1_1MPConstraint.html#a1341c1b4cf65970cc414b18dfc7b7a52", null ], + [ "lb", "classoperations__research_1_1MPConstraint.html#a4d254962fb2fe607c875f2b4e33c26ac", null ], + [ "name", "classoperations__research_1_1MPConstraint.html#a1cc4ca29f46883ebff5bdb2b624318a0", null ], + [ "set_dual_value", "classoperations__research_1_1MPConstraint.html#a2a521156c4a2eafe918c36fbb386e9e8", null ], + [ "set_is_lazy", "classoperations__research_1_1MPConstraint.html#aabdeaba6d29ef030605a333cffc20c69", null ], + [ "SetBounds", "classoperations__research_1_1MPConstraint.html#abf8bbda7b4d608d011f88d2df83db881", null ], + [ "SetCoefficient", "classoperations__research_1_1MPConstraint.html#a7e9afe55140b2392a99e0e5ad3eab531", null ], + [ "SetLB", "classoperations__research_1_1MPConstraint.html#a85c6d75f990f000e5863b83bd56e0e98", null ], + [ "SetUB", "classoperations__research_1_1MPConstraint.html#a84c9d35dde8a2e1c7caccf88e9e86d60", null ], + [ "terms", "classoperations__research_1_1MPConstraint.html#a2d5d7e32b11a7edb4d810f2f10900b17", null ], + [ "ub", "classoperations__research_1_1MPConstraint.html#a7e655031d93cbf4efbe827e3bd662ae7", null ], + [ "BopInterface", "classoperations__research_1_1MPConstraint.html#a7383308e6b9b63b18196798db342ce8a", null ], + [ "CBCInterface", "classoperations__research_1_1MPConstraint.html#af5a7cf0c655f37c0b388a2ddcf32ac3e", null ], + [ "CLPInterface", "classoperations__research_1_1MPConstraint.html#a60944ecdcad88cfb4d4d32feea70c9b5", null ], + [ "CplexInterface", "classoperations__research_1_1MPConstraint.html#ae7cbd08108e1636184f28c1a71c42393", null ], + [ "GLOPInterface", "classoperations__research_1_1MPConstraint.html#a6c754b527a347994b06eeb49a09ac222", null ], + [ "GLPKInterface", "classoperations__research_1_1MPConstraint.html#ae1a3e0a695903c8e6effd524a7f92784", null ], + [ "GurobiInterface", "classoperations__research_1_1MPConstraint.html#ac28a56eeedb62d070578a9231f1875ea", null ], + [ "KnapsackInterface", "classoperations__research_1_1MPConstraint.html#aee1ddf25e86286c16face31551751bda", null ], + [ "MPSolver", "classoperations__research_1_1MPConstraint.html#ac2c01b4de8f7670e37daa7d42b804dd4", null ], + [ "MPSolverInterface", "classoperations__research_1_1MPConstraint.html#ac0aea0786e75adbb2d24c41c15e7456c", null ], + [ "SatInterface", "classoperations__research_1_1MPConstraint.html#acbd4413b1370baca9c45aecb0cb8ebd2", null ], + [ "SCIPInterface", "classoperations__research_1_1MPConstraint.html#a236f9752f4df4c5134617330a040ec8a", null ], + [ "SLMInterface", "classoperations__research_1_1MPConstraint.html#a5c083b37243075a00bf909840dc7c933", null ] +]; \ No newline at end of file diff --git a/docs/cpp_linear/classoperations__research_1_1MPConstraintProto.html b/docs/cpp_linear/classoperations__research_1_1MPConstraintProto.html index 1a00749e25..3634d0cee7 100644 --- a/docs/cpp_linear/classoperations__research_1_1MPConstraintProto.html +++ b/docs/cpp_linear/classoperations__research_1_1MPConstraintProto.html @@ -55,7 +55,7 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1MPConstra

    Detailed Description

    -

    Definition at line 409 of file linear_solver.pb.h.

    +

    Definition at line 407 of file linear_solver.pb.h.

    @@ -78,7 +78,6 @@ Public Member Functions - @@ -107,7 +106,6 @@ Public Member Functions - @@ -122,7 +120,6 @@ Public Member Functions - @@ -137,7 +134,6 @@ Public Member Functions - @@ -158,7 +154,6 @@ Public Member Functions - @@ -167,7 +162,6 @@ Public Member Functions - @@ -176,7 +170,6 @@ Public Member Functions - @@ -311,7 +304,7 @@ Friends

    Public Member Functions

    void Swap (MPConstraintProto *other)
     
    MPConstraintProtoNew () const final
     implements Message -------------------------------------------— More...
     
    MPConstraintProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    int var_index_size () const
     nested types -------------------------------------------------— More...
     
    void clear_var_index ()
     
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_var_index ()
     
    int coefficient_size () const
     repeated double coefficient = 7 [packed = true]; More...
     
    void clear_coefficient ()
     
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_coefficient ()
     
    bool has_name () const
     optional string name = 4 [default = ""]; More...
     
    void clear_name ()
     
    void set_allocated_name (std::string *name)
     
    bool has_is_lazy () const
     optional bool is_lazy = 5 [default = false]; More...
     
    void clear_is_lazy ()
     
    void set_is_lazy (bool value)
     
    bool has_lower_bound () const
     optional double lower_bound = 2 [default = -inf]; More...
     
    void clear_lower_bound ()
     
    void set_lower_bound (double value)
     
    bool has_upper_bound () const
     optional double upper_bound = 3 [default = inf]; More...
     
    void clear_upper_bound ()
     
    -

    Definition at line 416 of file linear_solver.pb.h.

    +

    Definition at line 414 of file linear_solver.pb.h.

    @@ -339,9 +332,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.MPConstraintProto.coefficient)

    -

    Definition at line 2474 of file linear_solver.pb.h.

    +

    Definition at line 2460 of file linear_solver.pb.h.

    @@ -368,9 +360,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.MPConstraintProto.var_index)

    -

    Definition at line 2444 of file linear_solver.pb.h.

    +

    Definition at line 2430 of file linear_solver.pb.h.

    @@ -447,7 +438,7 @@ Friends
    -

    Definition at line 2463 of file linear_solver.pb.h.

    +

    Definition at line 2449 of file linear_solver.pb.h.

    @@ -474,7 +465,7 @@ Friends
    -

    Definition at line 2587 of file linear_solver.pb.h.

    +

    Definition at line 2573 of file linear_solver.pb.h.

    @@ -501,7 +492,7 @@ Friends
    -

    Definition at line 2493 of file linear_solver.pb.h.

    +

    Definition at line 2479 of file linear_solver.pb.h.

    @@ -528,7 +519,7 @@ Friends
    -

    Definition at line 2529 of file linear_solver.pb.h.

    +

    Definition at line 2515 of file linear_solver.pb.h.

    @@ -555,7 +546,7 @@ Friends
    -

    Definition at line 2511 of file linear_solver.pb.h.

    +

    Definition at line 2497 of file linear_solver.pb.h.

    @@ -582,7 +573,7 @@ Friends
    -

    Definition at line 2433 of file linear_solver.pb.h.

    +

    Definition at line 2419 of file linear_solver.pb.h.

    @@ -609,9 +600,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPConstraintProto.coefficient)

    -

    Definition at line 2466 of file linear_solver.pb.h.

    +

    Definition at line 2452 of file linear_solver.pb.h.

    @@ -637,9 +627,8 @@ Friends
    -

    @protoc_insertion_point(field_list:operations_research.MPConstraintProto.coefficient)

    -

    Definition at line 2479 of file linear_solver.pb.h.

    +

    Definition at line 2465 of file linear_solver.pb.h.

    @@ -666,9 +655,7 @@ Friends
    -

    repeated double coefficient = 7 [packed = true];

    - -

    Definition at line 2460 of file linear_solver.pb.h.

    +

    Definition at line 2446 of file linear_solver.pb.h.

    @@ -764,7 +751,7 @@ Friends
    -

    Definition at line 441 of file linear_solver.pb.h.

    +

    Definition at line 439 of file linear_solver.pb.h.

    @@ -791,7 +778,7 @@ Friends
    -

    Definition at line 492 of file linear_solver.pb.h.

    +

    Definition at line 490 of file linear_solver.pb.h.

    @@ -818,7 +805,7 @@ Friends
    -

    Definition at line 444 of file linear_solver.pb.h.

    +

    Definition at line 442 of file linear_solver.pb.h.

    @@ -870,7 +857,7 @@ Friends
    -

    Definition at line 447 of file linear_solver.pb.h.

    +

    Definition at line 445 of file linear_solver.pb.h.

    @@ -897,9 +884,7 @@ Friends
    -

    optional bool is_lazy = 5 [default = false];

    - -

    Definition at line 2584 of file linear_solver.pb.h.

    +

    Definition at line 2570 of file linear_solver.pb.h.

    @@ -926,9 +911,7 @@ Friends
    -

    optional double lower_bound = 2 [default = -inf];

    - -

    Definition at line 2490 of file linear_solver.pb.h.

    +

    Definition at line 2476 of file linear_solver.pb.h.

    @@ -955,9 +938,7 @@ Friends
    -

    optional string name = 4 [default = ""];

    - -

    Definition at line 2526 of file linear_solver.pb.h.

    +

    Definition at line 2512 of file linear_solver.pb.h.

    @@ -984,9 +965,7 @@ Friends
    -

    optional double upper_bound = 3 [default = inf];

    - -

    Definition at line 2508 of file linear_solver.pb.h.

    +

    Definition at line 2494 of file linear_solver.pb.h.

    @@ -1038,7 +1017,7 @@ Friends
    -

    Definition at line 453 of file linear_solver.pb.h.

    +

    Definition at line 451 of file linear_solver.pb.h.

    @@ -1090,9 +1069,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPConstraintProto.is_lazy)

    -

    Definition at line 2591 of file linear_solver.pb.h.

    +

    Definition at line 2577 of file linear_solver.pb.h.

    @@ -1143,9 +1121,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPConstraintProto.lower_bound)

    -

    Definition at line 2497 of file linear_solver.pb.h.

    +

    Definition at line 2483 of file linear_solver.pb.h.

    @@ -1241,9 +1218,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.MPConstraintProto.coefficient)

    -

    Definition at line 2484 of file linear_solver.pb.h.

    +

    Definition at line 2470 of file linear_solver.pb.h.

    @@ -1269,9 +1245,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPConstraintProto.name)

    -

    Definition at line 2560 of file linear_solver.pb.h.

    +

    Definition at line 2546 of file linear_solver.pb.h.

    @@ -1298,7 +1273,7 @@ Friends
    -

    Definition at line 437 of file linear_solver.pb.h.

    +

    Definition at line 435 of file linear_solver.pb.h.

    @@ -1324,9 +1299,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.MPConstraintProto.var_index)

    -

    Definition at line 2454 of file linear_solver.pb.h.

    +

    Definition at line 2440 of file linear_solver.pb.h.

    @@ -1352,9 +1326,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPConstraintProto.name)

    -

    Definition at line 2533 of file linear_solver.pb.h.

    +

    Definition at line 2519 of file linear_solver.pb.h.

    @@ -1381,9 +1354,7 @@ Friends
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 467 of file linear_solver.pb.h.

    +

    Definition at line 465 of file linear_solver.pb.h.

    @@ -1411,7 +1382,7 @@ Friends
    -

    Definition at line 471 of file linear_solver.pb.h.

    +

    Definition at line 469 of file linear_solver.pb.h.

    @@ -1439,7 +1410,7 @@ Friends
    -

    Definition at line 421 of file linear_solver.pb.h.

    +

    Definition at line 419 of file linear_solver.pb.h.

    @@ -1467,7 +1438,7 @@ Friends
    -

    Definition at line 425 of file linear_solver.pb.h.

    +

    Definition at line 423 of file linear_solver.pb.h.

    @@ -1493,9 +1464,8 @@ Friends
    -

    @protoc_insertion_point(field_release:operations_research.MPConstraintProto.name)

    -

    Definition at line 2565 of file linear_solver.pb.h.

    +

    Definition at line 2551 of file linear_solver.pb.h.

    @@ -1548,9 +1518,8 @@ Friends
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPConstraintProto.name)

    -

    Definition at line 2573 of file linear_solver.pb.h.

    +

    Definition at line 2559 of file linear_solver.pb.h.

    @@ -1587,9 +1556,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPConstraintProto.coefficient)

    -

    Definition at line 2470 of file linear_solver.pb.h.

    +

    Definition at line 2456 of file linear_solver.pb.h.

    @@ -1616,9 +1584,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPConstraintProto.is_lazy)

    -

    Definition at line 2595 of file linear_solver.pb.h.

    +

    Definition at line 2581 of file linear_solver.pb.h.

    @@ -1645,9 +1612,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPConstraintProto.lower_bound)

    -

    Definition at line 2501 of file linear_solver.pb.h.

    +

    Definition at line 2487 of file linear_solver.pb.h.

    @@ -1674,9 +1640,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPConstraintProto.name)

    -

    Definition at line 2537 of file linear_solver.pb.h.

    +

    Definition at line 2523 of file linear_solver.pb.h.

    @@ -1703,9 +1668,8 @@ Friends
    -

    @protoc_insertion_point(field_set_rvalue:operations_research.MPConstraintProto.name)

    -

    Definition at line 2542 of file linear_solver.pb.h.

    +

    Definition at line 2528 of file linear_solver.pb.h.

    @@ -1732,9 +1696,8 @@ Friends
    -

    @protoc_insertion_point(field_set_char:operations_research.MPConstraintProto.name)

    -

    Definition at line 2548 of file linear_solver.pb.h.

    +

    Definition at line 2534 of file linear_solver.pb.h.

    @@ -1771,9 +1734,8 @@ Friends
    -

    @protoc_insertion_point(field_set_pointer:operations_research.MPConstraintProto.name)

    -

    Definition at line 2554 of file linear_solver.pb.h.

    +

    Definition at line 2540 of file linear_solver.pb.h.

    @@ -1800,9 +1762,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPConstraintProto.upper_bound)

    -

    Definition at line 2519 of file linear_solver.pb.h.

    +

    Definition at line 2505 of file linear_solver.pb.h.

    @@ -1839,9 +1800,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPConstraintProto.var_index)

    -

    Definition at line 2440 of file linear_solver.pb.h.

    +

    Definition at line 2426 of file linear_solver.pb.h.

    @@ -1886,7 +1846,7 @@ Friends
    -

    Definition at line 434 of file linear_solver.pb.h.

    +

    Definition at line 432 of file linear_solver.pb.h.

    @@ -1912,9 +1872,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPConstraintProto.upper_bound)

    -

    Definition at line 2515 of file linear_solver.pb.h.

    +

    Definition at line 2501 of file linear_solver.pb.h.

    @@ -1941,9 +1900,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPConstraintProto.var_index)

    -

    Definition at line 2436 of file linear_solver.pb.h.

    +

    Definition at line 2422 of file linear_solver.pb.h.

    @@ -1969,9 +1927,8 @@ Friends
    -

    @protoc_insertion_point(field_list:operations_research.MPConstraintProto.var_index)

    -

    Definition at line 2449 of file linear_solver.pb.h.

    +

    Definition at line 2435 of file linear_solver.pb.h.

    @@ -1998,12 +1955,7 @@ Friends
    -

    nested types -------------------------------------------------—

    -

    MPConstraintProto.

    -

    accessors ----------------------------------------------------— repeated int32 var_index = 6 [packed = true];

    -

    repeated int32 var_index = 6 [packed = true];

    - -

    Definition at line 2430 of file linear_solver.pb.h.

    +

    Definition at line 2416 of file linear_solver.pb.h.

    @@ -2028,7 +1980,7 @@ Friends
    -

    Definition at line 499 of file linear_solver.pb.h.

    +

    Definition at line 497 of file linear_solver.pb.h.

    @@ -2052,7 +2004,7 @@ Friends
    -

    Definition at line 598 of file linear_solver.pb.h.

    +

    Definition at line 596 of file linear_solver.pb.h.

    @@ -2090,7 +2042,7 @@ Friends
    -

    Definition at line 461 of file linear_solver.pb.h.

    +

    Definition at line 459 of file linear_solver.pb.h.

    @@ -2115,7 +2067,7 @@ Friends
    -

    Definition at line 540 of file linear_solver.pb.h.

    +

    Definition at line 538 of file linear_solver.pb.h.

    @@ -2139,7 +2091,7 @@ Friends
    Initial value:
    =
    1
    -

    Definition at line 457 of file linear_solver.pb.h.

    +

    Definition at line 455 of file linear_solver.pb.h.

    @@ -2163,7 +2115,7 @@ Friends
    -

    Definition at line 565 of file linear_solver.pb.h.

    +

    Definition at line 563 of file linear_solver.pb.h.

    @@ -2187,7 +2139,7 @@ Friends
    -

    Definition at line 572 of file linear_solver.pb.h.

    +

    Definition at line 570 of file linear_solver.pb.h.

    @@ -2211,7 +2163,7 @@ Friends
    -

    Definition at line 552 of file linear_solver.pb.h.

    +

    Definition at line 550 of file linear_solver.pb.h.

    @@ -2235,7 +2187,7 @@ Friends
    -

    Definition at line 579 of file linear_solver.pb.h.

    +

    Definition at line 577 of file linear_solver.pb.h.

    @@ -2259,7 +2211,7 @@ Friends
    -

    Definition at line 528 of file linear_solver.pb.h.

    +

    Definition at line 526 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/classoperations__research_1_1MPGeneralConstraintProto.html b/docs/cpp_linear/classoperations__research_1_1MPGeneralConstraintProto.html index ca30b92262..a786db7b4e 100644 --- a/docs/cpp_linear/classoperations__research_1_1MPGeneralConstraintProto.html +++ b/docs/cpp_linear/classoperations__research_1_1MPGeneralConstraintProto.html @@ -44,7 +44,6 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1MPGeneral
    -Classes | Public Types | Public Member Functions | Static Public Member Functions | @@ -57,7 +56,7 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1MPGeneral

    Detailed Description

    -

    Definition at line 603 of file linear_solver.pb.h.

    +

    Definition at line 600 of file linear_solver.pb.h.

    @@ -88,7 +87,6 @@ Public Member Functions - @@ -117,7 +115,6 @@ Public Member Functions - @@ -138,7 +135,6 @@ Public Member Functions - @@ -151,7 +147,6 @@ Public Member Functions - @@ -221,7 +216,7 @@ Friends

    Public Types

    void Swap (MPGeneralConstraintProto *other)
     
    MPGeneralConstraintProtoNew () const final
     implements Message -------------------------------------------— More...
     
    MPGeneralConstraintProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    bool has_name () const
     nested types -------------------------------------------------— More...
     
    void clear_name ()
     
    void set_allocated_name (std::string *name)
     
    bool has_indicator_constraint () const
     optional .operations_research.MPIndicatorConstraint indicator_constraint = 2; More...
     
    void clear_indicator_constraint ()
     
    void set_allocated_indicator_constraint (::operations_research::MPIndicatorConstraint *indicator_constraint)
     
    bool has_sos_constraint () const
     optional .operations_research.MPSosConstraint sos_constraint = 3; More...
     
    void clear_sos_constraint ()
     
    GENERAL_CONSTRAINT_NOT_SET 
    -

    Definition at line 646 of file linear_solver.pb.h.

    +

    Definition at line 643 of file linear_solver.pb.h.

    @@ -310,7 +305,7 @@ Friends
    -

    Definition at line 610 of file linear_solver.pb.h.

    +

    Definition at line 607 of file linear_solver.pb.h.

    @@ -405,7 +400,7 @@ Friends
    -

    Definition at line 2671 of file linear_solver.pb.h.

    +

    Definition at line 2656 of file linear_solver.pb.h.

    @@ -432,7 +427,7 @@ Friends
    -

    Definition at line 2610 of file linear_solver.pb.h.

    +

    Definition at line 2595 of file linear_solver.pb.h.

    @@ -459,7 +454,7 @@ Friends
    -

    Definition at line 2712 of file linear_solver.pb.h.

    +

    Definition at line 2697 of file linear_solver.pb.h.

    @@ -555,7 +550,7 @@ Friends
    -

    Definition at line 635 of file linear_solver.pb.h.

    +

    Definition at line 632 of file linear_solver.pb.h.

    @@ -582,7 +577,7 @@ Friends
    -

    Definition at line 2752 of file linear_solver.pb.h.

    +

    Definition at line 2737 of file linear_solver.pb.h.

    @@ -609,7 +604,7 @@ Friends
    -

    Definition at line 692 of file linear_solver.pb.h.

    +

    Definition at line 689 of file linear_solver.pb.h.

    @@ -636,7 +631,7 @@ Friends
    -

    Definition at line 638 of file linear_solver.pb.h.

    +

    Definition at line 635 of file linear_solver.pb.h.

    @@ -688,7 +683,7 @@ Friends
    -

    Definition at line 641 of file linear_solver.pb.h.

    +

    Definition at line 638 of file linear_solver.pb.h.

    @@ -715,9 +710,7 @@ Friends
    -

    optional .operations_research.MPIndicatorConstraint indicator_constraint = 2;

    - -

    Definition at line 2665 of file linear_solver.pb.h.

    +

    Definition at line 2650 of file linear_solver.pb.h.

    @@ -744,12 +737,7 @@ Friends
    -

    nested types -------------------------------------------------—

    -

    MPGeneralConstraintProto.

    -

    accessors ----------------------------------------------------— optional string name = 1 [default = ""];

    -

    optional string name = 1 [default = ""];

    - -

    Definition at line 2607 of file linear_solver.pb.h.

    +

    Definition at line 2592 of file linear_solver.pb.h.

    @@ -776,9 +764,7 @@ Friends
    -

    optional .operations_research.MPSosConstraint sos_constraint = 3;

    - -

    Definition at line 2706 of file linear_solver.pb.h.

    +

    Definition at line 2691 of file linear_solver.pb.h.

    @@ -804,9 +790,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPGeneralConstraintProto.indicator_constraint)

    -

    Definition at line 2688 of file linear_solver.pb.h.

    +

    Definition at line 2673 of file linear_solver.pb.h.

    @@ -858,7 +843,7 @@ Friends
    -

    Definition at line 653 of file linear_solver.pb.h.

    +

    Definition at line 650 of file linear_solver.pb.h.

    @@ -1005,9 +990,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPGeneralConstraintProto.indicator_constraint)

    -

    Definition at line 2694 of file linear_solver.pb.h.

    +

    Definition at line 2679 of file linear_solver.pb.h.

    @@ -1033,9 +1017,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPGeneralConstraintProto.name)

    -

    Definition at line 2641 of file linear_solver.pb.h.

    +

    Definition at line 2626 of file linear_solver.pb.h.

    @@ -1061,9 +1044,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPGeneralConstraintProto.sos_constraint)

    -

    Definition at line 2735 of file linear_solver.pb.h.

    +

    Definition at line 2720 of file linear_solver.pb.h.

    @@ -1090,7 +1072,7 @@ Friends
    -

    Definition at line 631 of file linear_solver.pb.h.

    +

    Definition at line 628 of file linear_solver.pb.h.

    @@ -1116,9 +1098,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPGeneralConstraintProto.name)

    -

    Definition at line 2614 of file linear_solver.pb.h.

    +

    Definition at line 2599 of file linear_solver.pb.h.

    @@ -1145,9 +1126,7 @@ Friends
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 667 of file linear_solver.pb.h.

    +

    Definition at line 664 of file linear_solver.pb.h.

    @@ -1175,7 +1154,7 @@ Friends
    -

    Definition at line 671 of file linear_solver.pb.h.

    +

    Definition at line 668 of file linear_solver.pb.h.

    @@ -1203,7 +1182,7 @@ Friends
    -

    Definition at line 615 of file linear_solver.pb.h.

    +

    Definition at line 612 of file linear_solver.pb.h.

    @@ -1231,7 +1210,7 @@ Friends
    -

    Definition at line 619 of file linear_solver.pb.h.

    +

    Definition at line 616 of file linear_solver.pb.h.

    @@ -1257,9 +1236,8 @@ Friends
    -

    @protoc_insertion_point(field_release:operations_research.MPGeneralConstraintProto.indicator_constraint)

    -

    Definition at line 2677 of file linear_solver.pb.h.

    +

    Definition at line 2662 of file linear_solver.pb.h.

    @@ -1285,9 +1263,8 @@ Friends
    -

    @protoc_insertion_point(field_release:operations_research.MPGeneralConstraintProto.name)

    -

    Definition at line 2646 of file linear_solver.pb.h.

    +

    Definition at line 2631 of file linear_solver.pb.h.

    @@ -1313,9 +1290,8 @@ Friends
    -

    @protoc_insertion_point(field_release:operations_research.MPGeneralConstraintProto.sos_constraint)

    -

    Definition at line 2718 of file linear_solver.pb.h.

    +

    Definition at line 2703 of file linear_solver.pb.h.

    @@ -1386,9 +1362,8 @@ Friends
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPGeneralConstraintProto.name)

    -

    Definition at line 2654 of file linear_solver.pb.h.

    +

    Definition at line 2639 of file linear_solver.pb.h.

    @@ -1433,9 +1408,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPGeneralConstraintProto.name)

    -

    Definition at line 2618 of file linear_solver.pb.h.

    +

    Definition at line 2603 of file linear_solver.pb.h.

    @@ -1462,9 +1436,8 @@ Friends
    -

    @protoc_insertion_point(field_set_rvalue:operations_research.MPGeneralConstraintProto.name)

    -

    Definition at line 2623 of file linear_solver.pb.h.

    +

    Definition at line 2608 of file linear_solver.pb.h.

    @@ -1491,9 +1464,8 @@ Friends
    -

    @protoc_insertion_point(field_set_char:operations_research.MPGeneralConstraintProto.name)

    -

    Definition at line 2629 of file linear_solver.pb.h.

    +

    Definition at line 2614 of file linear_solver.pb.h.

    @@ -1530,9 +1502,8 @@ Friends
    -

    @protoc_insertion_point(field_set_pointer:operations_research.MPGeneralConstraintProto.name)

    -

    Definition at line 2635 of file linear_solver.pb.h.

    +

    Definition at line 2620 of file linear_solver.pb.h.

    @@ -1558,9 +1529,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPGeneralConstraintProto.sos_constraint)

    -

    Definition at line 2729 of file linear_solver.pb.h.

    +

    Definition at line 2714 of file linear_solver.pb.h.

    @@ -1605,7 +1575,7 @@ Friends
    -

    Definition at line 628 of file linear_solver.pb.h.

    +

    Definition at line 625 of file linear_solver.pb.h.

    @@ -1630,7 +1600,7 @@ Friends
    -

    Definition at line 699 of file linear_solver.pb.h.

    +

    Definition at line 696 of file linear_solver.pb.h.

    @@ -1654,7 +1624,7 @@ Friends
    -

    Definition at line 778 of file linear_solver.pb.h.

    +

    Definition at line 775 of file linear_solver.pb.h.

    @@ -1692,7 +1662,7 @@ Friends
    -

    Definition at line 661 of file linear_solver.pb.h.

    +

    Definition at line 658 of file linear_solver.pb.h.

    @@ -1717,7 +1687,7 @@ Friends
    Initial value:
    =
    2
    -

    Definition at line 657 of file linear_solver.pb.h.

    +

    Definition at line 654 of file linear_solver.pb.h.

    @@ -1741,7 +1711,7 @@ Friends
    -

    Definition at line 741 of file linear_solver.pb.h.

    +

    Definition at line 738 of file linear_solver.pb.h.

    @@ -1765,7 +1735,7 @@ Friends
    -

    Definition at line 728 of file linear_solver.pb.h.

    +

    Definition at line 725 of file linear_solver.pb.h.

    @@ -1789,7 +1759,7 @@ Friends
    -

    Definition at line 750 of file linear_solver.pb.h.

    +

    Definition at line 747 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/classoperations__research_1_1MPIndicatorConstraint.html b/docs/cpp_linear/classoperations__research_1_1MPIndicatorConstraint.html index 1cda87e2e2..4ca21b1e8f 100644 --- a/docs/cpp_linear/classoperations__research_1_1MPIndicatorConstraint.html +++ b/docs/cpp_linear/classoperations__research_1_1MPIndicatorConstraint.html @@ -55,7 +55,7 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1MPIndicat

    Detailed Description

    -

    Definition at line 783 of file linear_solver.pb.h.

    +

    Definition at line 779 of file linear_solver.pb.h.

    @@ -78,7 +78,6 @@ Public Member Functions - @@ -107,7 +106,6 @@ Public Member Functions - @@ -120,7 +118,6 @@ Public Member Functions - @@ -129,7 +126,6 @@ Public Member Functions - @@ -258,7 +254,7 @@ Friends

    Public Member Functions

    void Swap (MPIndicatorConstraint *other)
     
    MPIndicatorConstraintNew () const final
     implements Message -------------------------------------------— More...
     
    MPIndicatorConstraintNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    bool has_constraint () const
     nested types -------------------------------------------------— More...
     
    void clear_constraint ()
     
    void set_allocated_constraint (::operations_research::MPConstraintProto *constraint)
     
    bool has_var_index () const
     optional int32 var_index = 1; More...
     
    void clear_var_index ()
     
    void set_var_index (::PROTOBUF_NAMESPACE_ID::int32 value)
     
    bool has_var_value () const
     optional int32 var_value = 2; More...
     
    void clear_var_value ()
     
    -

    Definition at line 790 of file linear_solver.pb.h.

    +

    Definition at line 786 of file linear_solver.pb.h.

    @@ -336,7 +332,7 @@ Friends
    -

    Definition at line 2800 of file linear_solver.pb.h.

    +

    Definition at line 2784 of file linear_solver.pb.h.

    @@ -363,7 +359,7 @@ Friends
    -

    Definition at line 2764 of file linear_solver.pb.h.

    +

    Definition at line 2748 of file linear_solver.pb.h.

    @@ -390,7 +386,7 @@ Friends
    -

    Definition at line 2782 of file linear_solver.pb.h.

    +

    Definition at line 2766 of file linear_solver.pb.h.

    @@ -416,9 +412,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPIndicatorConstraint.constraint)

    -

    Definition at line 2804 of file linear_solver.pb.h.

    +

    Definition at line 2788 of file linear_solver.pb.h.

    @@ -514,7 +509,7 @@ Friends
    -

    Definition at line 815 of file linear_solver.pb.h.

    +

    Definition at line 811 of file linear_solver.pb.h.

    @@ -541,7 +536,7 @@ Friends
    -

    Definition at line 866 of file linear_solver.pb.h.

    +

    Definition at line 862 of file linear_solver.pb.h.

    @@ -568,7 +563,7 @@ Friends
    -

    Definition at line 818 of file linear_solver.pb.h.

    +

    Definition at line 814 of file linear_solver.pb.h.

    @@ -620,7 +615,7 @@ Friends
    -

    Definition at line 821 of file linear_solver.pb.h.

    +

    Definition at line 817 of file linear_solver.pb.h.

    @@ -647,11 +642,7 @@ Friends
    -

    nested types -------------------------------------------------—

    -

    optional .operations_research.MPConstraintProto constraint = 3;

    -

    accessors ----------------------------------------------------— optional .operations_research.MPConstraintProto constraint = 3;

    - -

    Definition at line 2797 of file linear_solver.pb.h.

    +

    Definition at line 2781 of file linear_solver.pb.h.

    @@ -678,11 +669,7 @@ Friends
    -

    optional int32 var_index = 1;

    -

    MPIndicatorConstraint.

    -

    optional int32 var_index = 1;

    - -

    Definition at line 2761 of file linear_solver.pb.h.

    +

    Definition at line 2745 of file linear_solver.pb.h.

    @@ -709,9 +696,7 @@ Friends
    -

    optional int32 var_value = 2;

    - -

    Definition at line 2779 of file linear_solver.pb.h.

    +

    Definition at line 2763 of file linear_solver.pb.h.

    @@ -763,7 +748,7 @@ Friends
    -

    Definition at line 827 of file linear_solver.pb.h.

    +

    Definition at line 823 of file linear_solver.pb.h.

    @@ -910,9 +895,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPIndicatorConstraint.constraint)

    -

    Definition at line 2817 of file linear_solver.pb.h.

    +

    Definition at line 2801 of file linear_solver.pb.h.

    @@ -939,7 +923,7 @@ Friends
    -

    Definition at line 811 of file linear_solver.pb.h.

    +

    Definition at line 807 of file linear_solver.pb.h.

    @@ -966,9 +950,7 @@ Friends
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 841 of file linear_solver.pb.h.

    +

    Definition at line 837 of file linear_solver.pb.h.

    @@ -996,7 +978,7 @@ Friends
    -

    Definition at line 845 of file linear_solver.pb.h.

    +

    Definition at line 841 of file linear_solver.pb.h.

    @@ -1024,7 +1006,7 @@ Friends
    -

    Definition at line 795 of file linear_solver.pb.h.

    +

    Definition at line 791 of file linear_solver.pb.h.

    @@ -1052,7 +1034,7 @@ Friends
    -

    Definition at line 799 of file linear_solver.pb.h.

    +

    Definition at line 795 of file linear_solver.pb.h.

    @@ -1078,9 +1060,8 @@ Friends
    -

    @protoc_insertion_point(field_release:operations_research.MPIndicatorConstraint.constraint)

    -

    Definition at line 2810 of file linear_solver.pb.h.

    +

    Definition at line 2794 of file linear_solver.pb.h.

    @@ -1133,9 +1114,8 @@ Friends
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPIndicatorConstraint.constraint)

    -

    Definition at line 2826 of file linear_solver.pb.h.

    +

    Definition at line 2810 of file linear_solver.pb.h.

    @@ -1162,9 +1142,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPIndicatorConstraint.var_index)

    -

    Definition at line 2772 of file linear_solver.pb.h.

    +

    Definition at line 2756 of file linear_solver.pb.h.

    @@ -1191,9 +1170,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPIndicatorConstraint.var_value)

    -

    Definition at line 2790 of file linear_solver.pb.h.

    +

    Definition at line 2774 of file linear_solver.pb.h.

    @@ -1238,7 +1216,7 @@ Friends
    -

    Definition at line 808 of file linear_solver.pb.h.

    +

    Definition at line 804 of file linear_solver.pb.h.

    @@ -1264,9 +1242,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPIndicatorConstraint.var_index)

    -

    Definition at line 2768 of file linear_solver.pb.h.

    +

    Definition at line 2752 of file linear_solver.pb.h.

    @@ -1292,9 +1269,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPIndicatorConstraint.var_value)

    -

    Definition at line 2786 of file linear_solver.pb.h.

    +

    Definition at line 2770 of file linear_solver.pb.h.

    @@ -1319,7 +1295,7 @@ Friends
    -

    Definition at line 873 of file linear_solver.pb.h.

    +

    Definition at line 869 of file linear_solver.pb.h.

    @@ -1343,7 +1319,7 @@ Friends
    -

    Definition at line 932 of file linear_solver.pb.h.

    +

    Definition at line 928 of file linear_solver.pb.h.

    @@ -1381,7 +1357,7 @@ Friends
    -

    Definition at line 835 of file linear_solver.pb.h.

    +

    Definition at line 831 of file linear_solver.pb.h.

    @@ -1406,7 +1382,7 @@ Friends
    -

    Definition at line 902 of file linear_solver.pb.h.

    +

    Definition at line 898 of file linear_solver.pb.h.

    @@ -1430,7 +1406,7 @@ Friends
    Initial value:
    =
    3
    -

    Definition at line 831 of file linear_solver.pb.h.

    +

    Definition at line 827 of file linear_solver.pb.h.

    @@ -1454,7 +1430,7 @@ Friends
    -

    Definition at line 911 of file linear_solver.pb.h.

    +

    Definition at line 907 of file linear_solver.pb.h.

    @@ -1478,7 +1454,7 @@ Friends
    -

    Definition at line 918 of file linear_solver.pb.h.

    +

    Definition at line 914 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/classoperations__research_1_1MPModelProto.html b/docs/cpp_linear/classoperations__research_1_1MPModelProto.html index 1457cefe3e..8efa031df9 100644 --- a/docs/cpp_linear/classoperations__research_1_1MPModelProto.html +++ b/docs/cpp_linear/classoperations__research_1_1MPModelProto.html @@ -55,7 +55,7 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1MPModelPr

    Detailed Description

    -

    Definition at line 1285 of file linear_solver.pb.h.

    +

    Definition at line 1278 of file linear_solver.pb.h.

    @@ -78,7 +78,6 @@ Public Member Functions - @@ -107,7 +106,6 @@ Public Member Functions - @@ -122,7 +120,6 @@ Public Member Functions - @@ -137,7 +134,6 @@ Public Member Functions - @@ -152,7 +148,6 @@ Public Member Functions - @@ -173,7 +168,6 @@ Public Member Functions - @@ -186,7 +180,6 @@ Public Member Functions - @@ -195,7 +188,6 @@ Public Member Functions - @@ -332,7 +324,7 @@ Friends

    Public Member Functions

    void Swap (MPModelProto *other)
     
    MPModelProtoNew () const final
     implements Message -------------------------------------------— More...
     
    MPModelProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    int variable_size () const
     nested types -------------------------------------------------— More...
     
    void clear_variable ()
     
    const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::MPVariableProto > & variable () const
     
    int constraint_size () const
     repeated .operations_research.MPConstraintProto constraint = 4; More...
     
    void clear_constraint ()
     
    const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::MPConstraintProto > & constraint () const
     
    int general_constraint_size () const
     repeated .operations_research.MPGeneralConstraintProto general_constraint = 7; More...
     
    void clear_general_constraint ()
     
    const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::MPGeneralConstraintProto > & general_constraint () const
     
    bool has_name () const
     optional string name = 5 [default = ""]; More...
     
    void clear_name ()
     
    void set_allocated_name (std::string *name)
     
    bool has_solution_hint () const
     optional .operations_research.PartialVariableAssignment solution_hint = 6; More...
     
    void clear_solution_hint ()
     
    void set_allocated_solution_hint (::operations_research::PartialVariableAssignment *solution_hint)
     
    bool has_objective_offset () const
     optional double objective_offset = 2 [default = 0]; More...
     
    void clear_objective_offset ()
     
    void set_objective_offset (double value)
     
    bool has_maximize () const
     optional bool maximize = 1 [default = false]; More...
     
    void clear_maximize ()
     
    -

    Definition at line 1292 of file linear_solver.pb.h.

    +

    Definition at line 1285 of file linear_solver.pb.h.

    @@ -359,9 +351,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.MPModelProto.constraint)

    -

    Definition at line 3085 of file linear_solver.pb.h.

    +

    Definition at line 3066 of file linear_solver.pb.h.

    @@ -387,9 +378,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.MPModelProto.general_constraint)

    -

    Definition at line 3115 of file linear_solver.pb.h.

    +

    Definition at line 3096 of file linear_solver.pb.h.

    @@ -415,9 +405,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.MPModelProto.variable)

    -

    Definition at line 3055 of file linear_solver.pb.h.

    +

    Definition at line 3036 of file linear_solver.pb.h.

    @@ -494,7 +483,7 @@ Friends
    -

    Definition at line 3069 of file linear_solver.pb.h.

    +

    Definition at line 3050 of file linear_solver.pb.h.

    @@ -521,7 +510,7 @@ Friends
    -

    Definition at line 3099 of file linear_solver.pb.h.

    +

    Definition at line 3080 of file linear_solver.pb.h.

    @@ -548,7 +537,7 @@ Friends
    -

    Definition at line 3003 of file linear_solver.pb.h.

    +

    Definition at line 2984 of file linear_solver.pb.h.

    @@ -575,7 +564,7 @@ Friends
    -

    Definition at line 3129 of file linear_solver.pb.h.

    +

    Definition at line 3110 of file linear_solver.pb.h.

    @@ -602,7 +591,7 @@ Friends
    -

    Definition at line 3021 of file linear_solver.pb.h.

    +

    Definition at line 3002 of file linear_solver.pb.h.

    @@ -629,7 +618,7 @@ Friends
    -

    Definition at line 3187 of file linear_solver.pb.h.

    +

    Definition at line 3168 of file linear_solver.pb.h.

    @@ -656,7 +645,7 @@ Friends
    -

    Definition at line 3039 of file linear_solver.pb.h.

    +

    Definition at line 3020 of file linear_solver.pb.h.

    @@ -683,9 +672,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelProto.constraint)

    -

    Definition at line 3081 of file linear_solver.pb.h.

    +

    Definition at line 3062 of file linear_solver.pb.h.

    @@ -711,9 +699,8 @@ Friends
    -

    @protoc_insertion_point(field_list:operations_research.MPModelProto.constraint)

    -

    Definition at line 3090 of file linear_solver.pb.h.

    +

    Definition at line 3071 of file linear_solver.pb.h.

    @@ -740,9 +727,7 @@ Friends
    -

    repeated .operations_research.MPConstraintProto constraint = 4;

    - -

    Definition at line 3066 of file linear_solver.pb.h.

    +

    Definition at line 3047 of file linear_solver.pb.h.

    @@ -838,7 +823,7 @@ Friends
    -

    Definition at line 1317 of file linear_solver.pb.h.

    +

    Definition at line 1310 of file linear_solver.pb.h.

    @@ -865,9 +850,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelProto.general_constraint)

    -

    Definition at line 3111 of file linear_solver.pb.h.

    +

    Definition at line 3092 of file linear_solver.pb.h.

    @@ -893,9 +877,8 @@ Friends
    -

    @protoc_insertion_point(field_list:operations_research.MPModelProto.general_constraint)

    -

    Definition at line 3120 of file linear_solver.pb.h.

    +

    Definition at line 3101 of file linear_solver.pb.h.

    @@ -922,9 +905,7 @@ Friends
    -

    repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;

    - -

    Definition at line 3096 of file linear_solver.pb.h.

    +

    Definition at line 3077 of file linear_solver.pb.h.

    @@ -951,7 +932,7 @@ Friends
    -

    Definition at line 1368 of file linear_solver.pb.h.

    +

    Definition at line 1361 of file linear_solver.pb.h.

    @@ -978,7 +959,7 @@ Friends
    -

    Definition at line 1320 of file linear_solver.pb.h.

    +

    Definition at line 1313 of file linear_solver.pb.h.

    @@ -1030,7 +1011,7 @@ Friends
    -

    Definition at line 1323 of file linear_solver.pb.h.

    +

    Definition at line 1316 of file linear_solver.pb.h.

    @@ -1057,11 +1038,7 @@ Friends
    -

    optional bool maximize = 1 [default = false];

    -

    MPModelProto.

    -

    optional bool maximize = 1 [default = false];

    - -

    Definition at line 3000 of file linear_solver.pb.h.

    +

    Definition at line 2981 of file linear_solver.pb.h.

    @@ -1088,9 +1065,7 @@ Friends
    -

    optional string name = 5 [default = ""];

    - -

    Definition at line 3126 of file linear_solver.pb.h.

    +

    Definition at line 3107 of file linear_solver.pb.h.

    @@ -1117,9 +1092,7 @@ Friends
    -

    optional double objective_offset = 2 [default = 0];

    - -

    Definition at line 3018 of file linear_solver.pb.h.

    +

    Definition at line 2999 of file linear_solver.pb.h.

    @@ -1146,9 +1119,7 @@ Friends
    -

    optional .operations_research.PartialVariableAssignment solution_hint = 6;

    - -

    Definition at line 3184 of file linear_solver.pb.h.

    +

    Definition at line 3165 of file linear_solver.pb.h.

    @@ -1200,7 +1171,7 @@ Friends
    -

    Definition at line 1329 of file linear_solver.pb.h.

    +

    Definition at line 1322 of file linear_solver.pb.h.

    @@ -1277,9 +1248,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelProto.maximize)

    -

    Definition at line 3007 of file linear_solver.pb.h.

    +

    Definition at line 2988 of file linear_solver.pb.h.

    @@ -1376,9 +1346,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPModelProto.constraint)

    -

    Definition at line 3072 of file linear_solver.pb.h.

    +

    Definition at line 3053 of file linear_solver.pb.h.

    @@ -1404,9 +1373,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.MPModelProto.constraint)

    -

    Definition at line 3077 of file linear_solver.pb.h.

    +

    Definition at line 3058 of file linear_solver.pb.h.

    @@ -1433,9 +1401,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPModelProto.general_constraint)

    -

    Definition at line 3102 of file linear_solver.pb.h.

    +

    Definition at line 3083 of file linear_solver.pb.h.

    @@ -1461,9 +1428,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.MPModelProto.general_constraint)

    -

    Definition at line 3107 of file linear_solver.pb.h.

    +

    Definition at line 3088 of file linear_solver.pb.h.

    @@ -1489,9 +1455,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPModelProto.name)

    -

    Definition at line 3160 of file linear_solver.pb.h.

    +

    Definition at line 3141 of file linear_solver.pb.h.

    @@ -1517,9 +1482,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPModelProto.solution_hint)

    -

    Definition at line 3204 of file linear_solver.pb.h.

    +

    Definition at line 3185 of file linear_solver.pb.h.

    @@ -1546,7 +1510,7 @@ Friends
    -

    Definition at line 1313 of file linear_solver.pb.h.

    +

    Definition at line 1306 of file linear_solver.pb.h.

    @@ -1573,9 +1537,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPModelProto.variable)

    -

    Definition at line 3042 of file linear_solver.pb.h.

    +

    Definition at line 3023 of file linear_solver.pb.h.

    @@ -1601,9 +1564,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.MPModelProto.variable)

    -

    Definition at line 3047 of file linear_solver.pb.h.

    +

    Definition at line 3028 of file linear_solver.pb.h.

    @@ -1629,9 +1591,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelProto.name)

    -

    Definition at line 3133 of file linear_solver.pb.h.

    +

    Definition at line 3114 of file linear_solver.pb.h.

    @@ -1658,9 +1619,7 @@ Friends
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 1343 of file linear_solver.pb.h.

    +

    Definition at line 1336 of file linear_solver.pb.h.

    @@ -1688,7 +1647,7 @@ Friends
    -

    Definition at line 1347 of file linear_solver.pb.h.

    +

    Definition at line 1340 of file linear_solver.pb.h.

    @@ -1714,9 +1673,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelProto.objective_offset)

    -

    Definition at line 3025 of file linear_solver.pb.h.

    +

    Definition at line 3006 of file linear_solver.pb.h.

    @@ -1744,7 +1702,7 @@ Friends
    -

    Definition at line 1297 of file linear_solver.pb.h.

    +

    Definition at line 1290 of file linear_solver.pb.h.

    @@ -1772,7 +1730,7 @@ Friends
    -

    Definition at line 1301 of file linear_solver.pb.h.

    +

    Definition at line 1294 of file linear_solver.pb.h.

    @@ -1798,9 +1756,8 @@ Friends
    -

    @protoc_insertion_point(field_release:operations_research.MPModelProto.name)

    -

    Definition at line 3165 of file linear_solver.pb.h.

    +

    Definition at line 3146 of file linear_solver.pb.h.

    @@ -1826,9 +1783,8 @@ Friends
    -

    @protoc_insertion_point(field_release:operations_research.MPModelProto.solution_hint)

    -

    Definition at line 3197 of file linear_solver.pb.h.

    +

    Definition at line 3178 of file linear_solver.pb.h.

    @@ -1881,9 +1837,8 @@ Friends
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPModelProto.name)

    -

    Definition at line 3173 of file linear_solver.pb.h.

    +

    Definition at line 3154 of file linear_solver.pb.h.

    @@ -1910,9 +1865,8 @@ Friends
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPModelProto.solution_hint)

    -

    Definition at line 3213 of file linear_solver.pb.h.

    +

    Definition at line 3194 of file linear_solver.pb.h.

    @@ -1939,9 +1893,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPModelProto.maximize)

    -

    Definition at line 3011 of file linear_solver.pb.h.

    +

    Definition at line 2992 of file linear_solver.pb.h.

    @@ -1968,9 +1921,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPModelProto.name)

    -

    Definition at line 3137 of file linear_solver.pb.h.

    +

    Definition at line 3118 of file linear_solver.pb.h.

    @@ -1997,9 +1949,8 @@ Friends
    -

    @protoc_insertion_point(field_set_rvalue:operations_research.MPModelProto.name)

    -

    Definition at line 3142 of file linear_solver.pb.h.

    +

    Definition at line 3123 of file linear_solver.pb.h.

    @@ -2026,9 +1977,8 @@ Friends
    -

    @protoc_insertion_point(field_set_char:operations_research.MPModelProto.name)

    -

    Definition at line 3148 of file linear_solver.pb.h.

    +

    Definition at line 3129 of file linear_solver.pb.h.

    @@ -2065,9 +2015,8 @@ Friends
    -

    @protoc_insertion_point(field_set_pointer:operations_research.MPModelProto.name)

    -

    Definition at line 3154 of file linear_solver.pb.h.

    +

    Definition at line 3135 of file linear_solver.pb.h.

    @@ -2094,9 +2043,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPModelProto.objective_offset)

    -

    Definition at line 3029 of file linear_solver.pb.h.

    +

    Definition at line 3010 of file linear_solver.pb.h.

    @@ -2122,9 +2070,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelProto.solution_hint)

    -

    Definition at line 3191 of file linear_solver.pb.h.

    +

    Definition at line 3172 of file linear_solver.pb.h.

    @@ -2169,7 +2116,7 @@ Friends
    -

    Definition at line 1310 of file linear_solver.pb.h.

    +

    Definition at line 1303 of file linear_solver.pb.h.

    @@ -2196,9 +2143,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelProto.variable)

    -

    Definition at line 3051 of file linear_solver.pb.h.

    +

    Definition at line 3032 of file linear_solver.pb.h.

    @@ -2224,9 +2170,8 @@ Friends
    -

    @protoc_insertion_point(field_list:operations_research.MPModelProto.variable)

    -

    Definition at line 3060 of file linear_solver.pb.h.

    +

    Definition at line 3041 of file linear_solver.pb.h.

    @@ -2253,11 +2198,7 @@ Friends
    -

    nested types -------------------------------------------------—

    -

    repeated .operations_research.MPVariableProto variable = 3;

    -

    accessors ----------------------------------------------------— repeated .operations_research.MPVariableProto variable = 3;

    - -

    Definition at line 3036 of file linear_solver.pb.h.

    +

    Definition at line 3017 of file linear_solver.pb.h.

    @@ -2282,7 +2223,7 @@ Friends
    -

    Definition at line 1375 of file linear_solver.pb.h.

    +

    Definition at line 1368 of file linear_solver.pb.h.

    @@ -2306,7 +2247,7 @@ Friends
    -

    Definition at line 1487 of file linear_solver.pb.h.

    +

    Definition at line 1480 of file linear_solver.pb.h.

    @@ -2344,7 +2285,7 @@ Friends
    -

    Definition at line 1337 of file linear_solver.pb.h.

    +

    Definition at line 1330 of file linear_solver.pb.h.

    @@ -2369,7 +2310,7 @@ Friends
    -

    Definition at line 1416 of file linear_solver.pb.h.

    +

    Definition at line 1409 of file linear_solver.pb.h.

    @@ -2393,7 +2334,7 @@ Friends
    -

    Definition at line 1428 of file linear_solver.pb.h.

    +

    Definition at line 1421 of file linear_solver.pb.h.

    @@ -2417,7 +2358,7 @@ Friends
    Initial value:
    =
    6
    -

    Definition at line 1333 of file linear_solver.pb.h.

    +

    Definition at line 1326 of file linear_solver.pb.h.

    @@ -2441,7 +2382,7 @@ Friends
    -

    Definition at line 1469 of file linear_solver.pb.h.

    +

    Definition at line 1462 of file linear_solver.pb.h.

    @@ -2465,7 +2406,7 @@ Friends
    -

    Definition at line 1440 of file linear_solver.pb.h.

    +

    Definition at line 1433 of file linear_solver.pb.h.

    @@ -2489,7 +2430,7 @@ Friends
    -

    Definition at line 1462 of file linear_solver.pb.h.

    +

    Definition at line 1455 of file linear_solver.pb.h.

    @@ -2513,7 +2454,7 @@ Friends
    -

    Definition at line 1453 of file linear_solver.pb.h.

    +

    Definition at line 1446 of file linear_solver.pb.h.

    @@ -2537,7 +2478,7 @@ Friends
    -

    Definition at line 1404 of file linear_solver.pb.h.

    +

    Definition at line 1397 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/classoperations__research_1_1MPModelRequest.html b/docs/cpp_linear/classoperations__research_1_1MPModelRequest.html index 582dcdbcdd..84b3df8a11 100644 --- a/docs/cpp_linear/classoperations__research_1_1MPModelRequest.html +++ b/docs/cpp_linear/classoperations__research_1_1MPModelRequest.html @@ -56,12 +56,11 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1MPModelRe

    Detailed Description

    -

    Definition at line 1844 of file linear_solver.pb.h.

    +

    Definition at line 1834 of file linear_solver.pb.h.

    -

    Public Types

    typedef MPModelRequest_SolverType SolverType
     nested types -------------------------------------------------— More...
     
    - @@ -114,7 +112,6 @@ Public Member Functions - @@ -135,7 +132,6 @@ Public Member Functions - @@ -148,7 +144,6 @@ Public Member Functions - @@ -157,7 +152,6 @@ Public Member Functions - @@ -166,7 +160,6 @@ Public Member Functions - @@ -268,9 +261,7 @@ Friends

    @@ -85,7 +84,6 @@ Public Member Functions

    void Swap (MPModelRequest *other)
     
    MPModelRequestNew () const final
     implements Message -------------------------------------------— More...
     
    MPModelRequestNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    bool has_solver_specific_parameters () const
     accessors ----------------------------------------------------— More...
     
    void clear_solver_specific_parameters ()
     
    void set_allocated_solver_specific_parameters (std::string *solver_specific_parameters)
     
    bool has_model () const
     optional .operations_research.MPModelProto model = 1; More...
     
    void clear_model ()
     
    void set_allocated_model (::operations_research::MPModelProto *model)
     
    bool has_solver_time_limit_seconds () const
     optional double solver_time_limit_seconds = 3; More...
     
    void clear_solver_time_limit_seconds ()
     
    void set_solver_time_limit_seconds (double value)
     
    bool has_enable_internal_solver_output () const
     optional bool enable_internal_solver_output = 4 [default = false]; More...
     
    void clear_enable_internal_solver_output ()
     
    void set_enable_internal_solver_output (bool value)
     
    bool has_solver_type () const
     optional .operations_research.MPModelRequest.SolverType solver_type = 2; More...
     
    void clear_solver_type ()
     
    -

    nested types -------------------------------------------------—

    - -

    Definition at line 1958 of file linear_solver.pb.h.

    +

    Definition at line 1948 of file linear_solver.pb.h.

    @@ -359,7 +350,7 @@ Friends
    -

    Definition at line 1851 of file linear_solver.pb.h.

    +

    Definition at line 1841 of file linear_solver.pb.h.

    @@ -437,7 +428,7 @@ Friends
    -

    Definition at line 3559 of file linear_solver.pb.h.

    +

    Definition at line 3537 of file linear_solver.pb.h.

    @@ -464,7 +455,7 @@ Friends
    -

    Definition at line 3473 of file linear_solver.pb.h.

    +

    Definition at line 3451 of file linear_solver.pb.h.

    @@ -491,7 +482,7 @@ Friends
    -

    Definition at line 3577 of file linear_solver.pb.h.

    +

    Definition at line 3555 of file linear_solver.pb.h.

    @@ -518,7 +509,7 @@ Friends
    -

    Definition at line 3541 of file linear_solver.pb.h.

    +

    Definition at line 3519 of file linear_solver.pb.h.

    @@ -545,7 +536,7 @@ Friends
    -

    Definition at line 3522 of file linear_solver.pb.h.

    +

    Definition at line 3500 of file linear_solver.pb.h.

    @@ -641,7 +632,7 @@ Friends
    -

    Definition at line 1876 of file linear_solver.pb.h.

    +

    Definition at line 1866 of file linear_solver.pb.h.

    @@ -667,9 +658,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelRequest.enable_internal_solver_output)

    -

    Definition at line 3563 of file linear_solver.pb.h.

    +

    Definition at line 3541 of file linear_solver.pb.h.

    @@ -696,7 +686,7 @@ Friends
    -

    Definition at line 1927 of file linear_solver.pb.h.

    +

    Definition at line 1917 of file linear_solver.pb.h.

    @@ -723,7 +713,7 @@ Friends
    -

    Definition at line 1879 of file linear_solver.pb.h.

    +

    Definition at line 1869 of file linear_solver.pb.h.

    @@ -775,7 +765,7 @@ Friends
    -

    Definition at line 1882 of file linear_solver.pb.h.

    +

    Definition at line 1872 of file linear_solver.pb.h.

    @@ -802,9 +792,7 @@ Friends
    -

    optional bool enable_internal_solver_output = 4 [default = false];

    - -

    Definition at line 3556 of file linear_solver.pb.h.

    +

    Definition at line 3534 of file linear_solver.pb.h.

    @@ -831,11 +819,7 @@ Friends
    -

    optional .operations_research.MPModelProto model = 1;

    -

    MPModelRequest.

    -

    optional .operations_research.MPModelProto model = 1;

    - -

    Definition at line 3470 of file linear_solver.pb.h.

    +

    Definition at line 3448 of file linear_solver.pb.h.

    @@ -862,10 +846,7 @@ Friends
    -

    accessors ----------------------------------------------------—

    -

    optional string solver_specific_parameters = 5;

    - -

    Definition at line 3574 of file linear_solver.pb.h.

    +

    Definition at line 3552 of file linear_solver.pb.h.

    @@ -892,9 +873,7 @@ Friends
    -

    optional double solver_time_limit_seconds = 3;

    - -

    Definition at line 3538 of file linear_solver.pb.h.

    +

    Definition at line 3516 of file linear_solver.pb.h.

    @@ -921,9 +900,7 @@ Friends
    -

    optional .operations_research.MPModelRequest.SolverType solver_type = 2;

    - -

    Definition at line 3519 of file linear_solver.pb.h.

    +

    Definition at line 3497 of file linear_solver.pb.h.

    @@ -975,7 +952,7 @@ Friends
    -

    Definition at line 1888 of file linear_solver.pb.h.

    +

    Definition at line 1878 of file linear_solver.pb.h.

    @@ -1122,9 +1099,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelRequest.model)

    -

    Definition at line 3477 of file linear_solver.pb.h.

    +

    Definition at line 3455 of file linear_solver.pb.h.

    @@ -1150,9 +1126,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPModelRequest.model)

    -

    Definition at line 3490 of file linear_solver.pb.h.

    +

    Definition at line 3468 of file linear_solver.pb.h.

    @@ -1178,9 +1153,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPModelRequest.solver_specific_parameters)

    -

    Definition at line 3608 of file linear_solver.pb.h.

    +

    Definition at line 3586 of file linear_solver.pb.h.

    @@ -1207,7 +1181,7 @@ Friends
    -

    Definition at line 1872 of file linear_solver.pb.h.

    +

    Definition at line 1862 of file linear_solver.pb.h.

    @@ -1234,9 +1208,7 @@ Friends
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 1902 of file linear_solver.pb.h.

    +

    Definition at line 1892 of file linear_solver.pb.h.

    @@ -1264,7 +1236,7 @@ Friends
    -

    Definition at line 1906 of file linear_solver.pb.h.

    +

    Definition at line 1896 of file linear_solver.pb.h.

    @@ -1292,7 +1264,7 @@ Friends
    -

    Definition at line 1856 of file linear_solver.pb.h.

    +

    Definition at line 1846 of file linear_solver.pb.h.

    @@ -1320,7 +1292,7 @@ Friends
    -

    Definition at line 1860 of file linear_solver.pb.h.

    +

    Definition at line 1850 of file linear_solver.pb.h.

    @@ -1346,9 +1318,8 @@ Friends
    -

    @protoc_insertion_point(field_release:operations_research.MPModelRequest.model)

    -

    Definition at line 3483 of file linear_solver.pb.h.

    +

    Definition at line 3461 of file linear_solver.pb.h.

    @@ -1374,9 +1345,8 @@ Friends
    -

    @protoc_insertion_point(field_release:operations_research.MPModelRequest.solver_specific_parameters)

    -

    Definition at line 3613 of file linear_solver.pb.h.

    +

    Definition at line 3591 of file linear_solver.pb.h.

    @@ -1429,9 +1399,8 @@ Friends
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPModelRequest.model)

    -

    Definition at line 3499 of file linear_solver.pb.h.

    +

    Definition at line 3477 of file linear_solver.pb.h.

    @@ -1458,9 +1427,8 @@ Friends
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPModelRequest.solver_specific_parameters)

    -

    Definition at line 3621 of file linear_solver.pb.h.

    +

    Definition at line 3599 of file linear_solver.pb.h.

    @@ -1487,9 +1455,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPModelRequest.enable_internal_solver_output)

    -

    Definition at line 3567 of file linear_solver.pb.h.

    +

    Definition at line 3545 of file linear_solver.pb.h.

    @@ -1516,9 +1483,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPModelRequest.solver_specific_parameters)

    -

    Definition at line 3585 of file linear_solver.pb.h.

    +

    Definition at line 3563 of file linear_solver.pb.h.

    @@ -1545,9 +1511,8 @@ Friends
    -

    @protoc_insertion_point(field_set_rvalue:operations_research.MPModelRequest.solver_specific_parameters)

    -

    Definition at line 3590 of file linear_solver.pb.h.

    +

    Definition at line 3568 of file linear_solver.pb.h.

    @@ -1574,9 +1539,8 @@ Friends
    -

    @protoc_insertion_point(field_set_char:operations_research.MPModelRequest.solver_specific_parameters)

    -

    Definition at line 3596 of file linear_solver.pb.h.

    +

    Definition at line 3574 of file linear_solver.pb.h.

    @@ -1613,9 +1577,8 @@ Friends
    -

    @protoc_insertion_point(field_set_pointer:operations_research.MPModelRequest.solver_specific_parameters)

    -

    Definition at line 3602 of file linear_solver.pb.h.

    +

    Definition at line 3580 of file linear_solver.pb.h.

    @@ -1642,9 +1605,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPModelRequest.solver_time_limit_seconds)

    -

    Definition at line 3549 of file linear_solver.pb.h.

    +

    Definition at line 3527 of file linear_solver.pb.h.

    @@ -1671,9 +1633,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPModelRequest.solver_type)

    -

    Definition at line 3530 of file linear_solver.pb.h.

    +

    Definition at line 3508 of file linear_solver.pb.h.

    @@ -1699,9 +1660,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelRequest.solver_specific_parameters)

    -

    Definition at line 3581 of file linear_solver.pb.h.

    +

    Definition at line 3559 of file linear_solver.pb.h.

    @@ -1727,9 +1687,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelRequest.solver_time_limit_seconds)

    -

    Definition at line 3545 of file linear_solver.pb.h.

    +

    Definition at line 3523 of file linear_solver.pb.h.

    @@ -1755,9 +1714,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPModelRequest.solver_type)

    -

    Definition at line 3526 of file linear_solver.pb.h.

    +

    Definition at line 3504 of file linear_solver.pb.h.

    @@ -1784,7 +1742,7 @@ Friends
    -

    Definition at line 1995 of file linear_solver.pb.h.

    +

    Definition at line 1985 of file linear_solver.pb.h.

    @@ -1812,7 +1770,7 @@ Friends
    -

    Definition at line 1985 of file linear_solver.pb.h.

    +

    Definition at line 1975 of file linear_solver.pb.h.

    @@ -1842,7 +1800,7 @@ template<typename T >
    -

    Definition at line 1999 of file linear_solver.pb.h.

    +

    Definition at line 1989 of file linear_solver.pb.h.

    @@ -1880,7 +1838,7 @@ template<typename T >
    -

    Definition at line 2005 of file linear_solver.pb.h.

    +

    Definition at line 1995 of file linear_solver.pb.h.

    @@ -1925,7 +1883,7 @@ template<typename T >
    -

    Definition at line 1869 of file linear_solver.pb.h.

    +

    Definition at line 1859 of file linear_solver.pb.h.

    @@ -1950,7 +1908,7 @@ template<typename T >
    -

    Definition at line 1934 of file linear_solver.pb.h.

    +

    Definition at line 1924 of file linear_solver.pb.h.

    @@ -1974,7 +1932,7 @@ template<typename T >
    -

    Definition at line 2067 of file linear_solver.pb.h.

    +

    Definition at line 2057 of file linear_solver.pb.h.

    @@ -2012,7 +1970,7 @@ template<typename T >
    -

    Definition at line 1896 of file linear_solver.pb.h.

    +

    Definition at line 1886 of file linear_solver.pb.h.

    @@ -2037,7 +1995,7 @@ template<typename T >
    Initial value: -

    Definition at line 1979 of file linear_solver.pb.h.

    +

    Definition at line 1969 of file linear_solver.pb.h.

    @@ -2061,7 +2019,7 @@ template<typename T >
    Initial value: -

    Definition at line 1973 of file linear_solver.pb.h.

    +

    Definition at line 1963 of file linear_solver.pb.h.

    @@ -2085,7 +2043,7 @@ template<typename T >
    Initial value: -

    Definition at line 1961 of file linear_solver.pb.h.

    +

    Definition at line 1951 of file linear_solver.pb.h.

    @@ -2109,7 +2067,7 @@ template<typename T >
    Initial value: -

    Definition at line 1967 of file linear_solver.pb.h.

    +

    Definition at line 1957 of file linear_solver.pb.h.

    @@ -2133,7 +2091,7 @@ template<typename T >
    Initial value: -

    Definition at line 1977 of file linear_solver.pb.h.

    +

    Definition at line 1967 of file linear_solver.pb.h.

    @@ -2157,7 +2115,7 @@ template<typename T >
    Initial value: -

    Definition at line 1959 of file linear_solver.pb.h.

    +

    Definition at line 1949 of file linear_solver.pb.h.

    @@ -2181,7 +2139,7 @@ template<typename T >
    Initial value: -

    Definition at line 1963 of file linear_solver.pb.h.

    +

    Definition at line 1953 of file linear_solver.pb.h.

    @@ -2205,7 +2163,7 @@ template<typename T >
    Initial value: -

    Definition at line 1971 of file linear_solver.pb.h.

    +

    Definition at line 1961 of file linear_solver.pb.h.

    @@ -2229,7 +2187,7 @@ template<typename T >
    Initial value: -

    Definition at line 1965 of file linear_solver.pb.h.

    +

    Definition at line 1955 of file linear_solver.pb.h.

    @@ -2253,7 +2211,7 @@ template<typename T >
    Initial value: -

    Definition at line 1975 of file linear_solver.pb.h.

    +

    Definition at line 1965 of file linear_solver.pb.h.

    @@ -2277,7 +2235,7 @@ template<typename T >
    -

    Definition at line 2044 of file linear_solver.pb.h.

    +

    Definition at line 2034 of file linear_solver.pb.h.

    @@ -2301,7 +2259,7 @@ template<typename T >
    Initial value:
    =
    9
    -

    Definition at line 1892 of file linear_solver.pb.h.

    +

    Definition at line 1882 of file linear_solver.pb.h.

    @@ -2325,7 +2283,7 @@ template<typename T >
    -

    Definition at line 2028 of file linear_solver.pb.h.

    +

    Definition at line 2018 of file linear_solver.pb.h.

    @@ -2349,7 +2307,7 @@ template<typename T >
    Initial value: -

    Definition at line 1983 of file linear_solver.pb.h.

    +

    Definition at line 1973 of file linear_solver.pb.h.

    @@ -2373,7 +2331,7 @@ template<typename T >
    -

    Definition at line 2015 of file linear_solver.pb.h.

    +

    Definition at line 2005 of file linear_solver.pb.h.

    @@ -2397,7 +2355,7 @@ template<typename T >
    -

    Definition at line 2037 of file linear_solver.pb.h.

    +

    Definition at line 2027 of file linear_solver.pb.h.

    @@ -2421,7 +2379,7 @@ template<typename T >
    -

    Definition at line 2051 of file linear_solver.pb.h.

    +

    Definition at line 2041 of file linear_solver.pb.h.

    @@ -2445,7 +2403,7 @@ template<typename T >
    Initial value: -

    Definition at line 1981 of file linear_solver.pb.h.

    +

    Definition at line 1971 of file linear_solver.pb.h.

    @@ -2469,7 +2427,7 @@ template<typename T >
    Initial value: -

    Definition at line 1969 of file linear_solver.pb.h.

    +

    Definition at line 1959 of file linear_solver.pb.h.

    @@ -2493,7 +2451,7 @@ template<typename T >
    Initial value: -

    Definition at line 1992 of file linear_solver.pb.h.

    +

    Definition at line 1982 of file linear_solver.pb.h.

    @@ -2517,7 +2475,7 @@ template<typename T >
    Initial value: -

    Definition at line 1990 of file linear_solver.pb.h.

    +

    Definition at line 1980 of file linear_solver.pb.h.

    @@ -2541,7 +2499,7 @@ template<typename T >
    Initial value: -

    Definition at line 1988 of file linear_solver.pb.h.

    +

    Definition at line 1978 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/classoperations__research_1_1MPObjective-members.html b/docs/cpp_linear/classoperations__research_1_1MPObjective-members.html new file mode 100644 index 0000000000..5b8283151e --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPObjective-members.html @@ -0,0 +1,91 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    +
    +
    operations_research::MPObjective Member List
    +
    +
    + +

    This is the complete list of members for operations_research::MPObjective, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AddLinearExpr(const LinearExpr &linear_expr)operations_research::MPObjective
    BestBound() constoperations_research::MPObjective
    BopInterface classoperations_research::MPObjectivefriend
    CBCInterface classoperations_research::MPObjectivefriend
    Clear()operations_research::MPObjective
    CLPInterface classoperations_research::MPObjectivefriend
    CplexInterface classoperations_research::MPObjectivefriend
    GetCoefficient(const MPVariable *const var) constoperations_research::MPObjective
    GLOPInterface classoperations_research::MPObjectivefriend
    GLPKInterface classoperations_research::MPObjectivefriend
    GurobiInterface classoperations_research::MPObjectivefriend
    KnapsackInterface classoperations_research::MPObjectivefriend
    maximization() constoperations_research::MPObjective
    MaximizeLinearExpr(const LinearExpr &linear_expr)operations_research::MPObjectiveinline
    minimization() constoperations_research::MPObjective
    MinimizeLinearExpr(const LinearExpr &linear_expr)operations_research::MPObjectiveinline
    MPSolver classoperations_research::MPObjectivefriend
    MPSolverInterface classoperations_research::MPObjectivefriend
    offset() constoperations_research::MPObjectiveinline
    OptimizeLinearExpr(const LinearExpr &linear_expr, bool is_maximization)operations_research::MPObjective
    SatInterface classoperations_research::MPObjectivefriend
    SCIPInterface classoperations_research::MPObjectivefriend
    SetCoefficient(const MPVariable *const var, double coeff)operations_research::MPObjective
    SetMaximization()operations_research::MPObjectiveinline
    SetMinimization()operations_research::MPObjectiveinline
    SetOffset(double value)operations_research::MPObjective
    SetOptimizationDirection(bool maximize)operations_research::MPObjective
    SLMInterface classoperations_research::MPObjectivefriend
    terms() constoperations_research::MPObjectiveinline
    Value() constoperations_research::MPObjective
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPObjective.html b/docs/cpp_linear/classoperations__research_1_1MPObjective.html new file mode 100644 index 0000000000..e17041cad4 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPObjective.html @@ -0,0 +1,884 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    + +
    +
    operations_research::MPObjective Class Reference
    +
    +
    +

    Detailed Description

    +

    A class to express a linear objective.

    + +

    Definition at line 919 of file linear_solver.h.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

    void Clear ()
     Clears the offset, all variables and coefficients, and the optimization direction. More...
     
    void SetCoefficient (const MPVariable *const var, double coeff)
     Sets the coefficient of the variable in the objective. More...
     
    double GetCoefficient (const MPVariable *const var) const
     Gets the coefficient of a given variable in the objective. More...
     
    const absl::flat_hash_map< const MPVariable *, double > & terms () const
     Returns a map from variables to their coefficients in the objective. More...
     
    void SetOffset (double value)
     Sets the constant term in the objective. More...
     
    double offset () const
     Gets the constant term in the objective. More...
     
    void OptimizeLinearExpr (const LinearExpr &linear_expr, bool is_maximization)
     Resets the current objective to take the value of linear_expr, and sets the objective direction to maximize if "is_maximize", otherwise minimizes. More...
     
    void MaximizeLinearExpr (const LinearExpr &linear_expr)
     Resets the current objective to maximize linear_expr. More...
     
    void MinimizeLinearExpr (const LinearExpr &linear_expr)
     Resets the current objective to minimize linear_expr. More...
     
    void AddLinearExpr (const LinearExpr &linear_expr)
     Adds linear_expr to the current objective, does not change the direction. More...
     
    void SetOptimizationDirection (bool maximize)
     Sets the optimization direction (maximize: true or minimize: false). More...
     
    void SetMinimization ()
     Sets the optimization direction to minimize. More...
     
    void SetMaximization ()
     Sets the optimization direction to maximize. More...
     
    bool maximization () const
     Is the optimization direction set to maximize? More...
     
    bool minimization () const
     Is the optimization direction set to minimize? More...
     
    double Value () const
     Returns the objective value of the best solution found so far. More...
     
    double BestBound () const
     Returns the best objective bound. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Friends

    class MPSolver
     
    class MPSolverInterface
     
    class CBCInterface
     
    class CLPInterface
     
    class GLPKInterface
     
    class SCIPInterface
     
    class SLMInterface
     
    class GurobiInterface
     
    class CplexInterface
     
    class GLOPInterface
     
    class BopInterface
     
    class SatInterface
     
    class KnapsackInterface
     
    +

    Member Function Documentation

    + +

    ◆ AddLinearExpr()

    + +
    +
    + + + + + + + + +
    void operations_research::MPObjective::AddLinearExpr (const LinearExpr & linear_expr)
    +
    + +

    Adds linear_expr to the current objective, does not change the direction.

    + +
    +
    + +

    ◆ BestBound()

    + +
    +
    + + + + + + + +
    double operations_research::MPObjective::BestBound () const
    +
    + +

    Returns the best objective bound.

    +

    In case of minimization, it is a lower bound on the objective value of the optimal integer solution. Only available for discrete problems.

    + +
    +
    + +

    ◆ Clear()

    + +
    +
    + + + + + + + +
    void operations_research::MPObjective::Clear ()
    +
    + +

    Clears the offset, all variables and coefficients, and the optimization direction.

    + +
    +
    + +

    ◆ GetCoefficient()

    + +
    +
    + + + + + + + + +
    double operations_research::MPObjective::GetCoefficient (const MPVariable *const var) const
    +
    + +

    Gets the coefficient of a given variable in the objective.

    +

    It returns 0 if the variable does not appear in the objective).

    + +
    +
    + +

    ◆ maximization()

    + +
    +
    + + + + + + + +
    bool operations_research::MPObjective::maximization () const
    +
    + +

    Is the optimization direction set to maximize?

    + +
    +
    + +

    ◆ MaximizeLinearExpr()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPObjective::MaximizeLinearExpr (const LinearExpr & linear_expr)
    +
    +inline
    +
    + +

    Resets the current objective to maximize linear_expr.

    + +

    Definition at line 970 of file linear_solver.h.

    + +
    +
    + +

    ◆ minimization()

    + +
    +
    + + + + + + + +
    bool operations_research::MPObjective::minimization () const
    +
    + +

    Is the optimization direction set to minimize?

    + +
    +
    + +

    ◆ MinimizeLinearExpr()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPObjective::MinimizeLinearExpr (const LinearExpr & linear_expr)
    +
    +inline
    +
    + +

    Resets the current objective to minimize linear_expr.

    + +

    Definition at line 976 of file linear_solver.h.

    + +
    +
    + +

    ◆ offset()

    + +
    +
    + + + + + +
    + + + + + + + +
    double operations_research::MPObjective::offset () const
    +
    +inline
    +
    + +

    Gets the constant term in the objective.

    + +

    Definition at line 959 of file linear_solver.h.

    + +
    +
    + +

    ◆ OptimizeLinearExpr()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPObjective::OptimizeLinearExpr (const LinearExpr & linear_expr,
    bool is_maximization 
    )
    +
    + +

    Resets the current objective to take the value of linear_expr, and sets the objective direction to maximize if "is_maximize", otherwise minimizes.

    + +
    +
    + +

    ◆ SetCoefficient()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPObjective::SetCoefficient (const MPVariable *const var,
    double coeff 
    )
    +
    + +

    Sets the coefficient of the variable in the objective.

    +

    If the variable does not belong to the solver, the function just returns, or crashes in non-opt mode.

    + +
    +
    + +

    ◆ SetMaximization()

    + +
    +
    + + + + + +
    + + + + + + + +
    void operations_research::MPObjective::SetMaximization ()
    +
    +inline
    +
    + +

    Sets the optimization direction to maximize.

    + +

    Definition at line 998 of file linear_solver.h.

    + +
    +
    + +

    ◆ SetMinimization()

    + +
    +
    + + + + + +
    + + + + + + + +
    void operations_research::MPObjective::SetMinimization ()
    +
    +inline
    +
    + +

    Sets the optimization direction to minimize.

    + +

    Definition at line 993 of file linear_solver.h.

    + +
    +
    + +

    ◆ SetOffset()

    + +
    +
    + + + + + + + + +
    void operations_research::MPObjective::SetOffset (double value)
    +
    + +

    Sets the constant term in the objective.

    + +
    +
    + +

    ◆ SetOptimizationDirection()

    + +
    +
    + + + + + + + + +
    void operations_research::MPObjective::SetOptimizationDirection (bool maximize)
    +
    + +

    Sets the optimization direction (maximize: true or minimize: false).

    + +
    +
    + +

    ◆ terms()

    + +
    +
    + + + + + +
    + + + + + + + +
    const absl::flat_hash_map<const MPVariable *, double>& operations_research::MPObjective::terms () const
    +
    +inline
    +
    + +

    Returns a map from variables to their coefficients in the objective.

    +

    If a variable is not present in the map, then its coefficient is zero.

    + +

    Definition at line 947 of file linear_solver.h.

    + +
    +
    + +

    ◆ Value()

    + +
    +
    + + + + + + + +
    double operations_research::MPObjective::Value () const
    +
    + +

    Returns the objective value of the best solution found so far.

    +

    It is the optimal objective value if the problem has been solved to optimality.

    +

    Note: the objective value may be slightly different than what you could compute yourself using MPVariable::solution_value(); please use the –verify_solution flag to gain confidence about the numerical stability of your solution.

    + +
    +
    +

    Friends And Related Function Documentation

    + +

    ◆ BopInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class BopInterface
    +
    +friend
    +
    + +

    Definition at line 1041 of file linear_solver.h.

    + +
    +
    + +

    ◆ CBCInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CBCInterface
    +
    +friend
    +
    + +

    Definition at line 1033 of file linear_solver.h.

    + +
    +
    + +

    ◆ CLPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CLPInterface
    +
    +friend
    +
    + +

    Definition at line 1034 of file linear_solver.h.

    + +
    +
    + +

    ◆ CplexInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CplexInterface
    +
    +friend
    +
    + +

    Definition at line 1039 of file linear_solver.h.

    + +
    +
    + +

    ◆ GLOPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GLOPInterface
    +
    +friend
    +
    + +

    Definition at line 1040 of file linear_solver.h.

    + +
    +
    + +

    ◆ GLPKInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GLPKInterface
    +
    +friend
    +
    + +

    Definition at line 1035 of file linear_solver.h.

    + +
    +
    + +

    ◆ GurobiInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GurobiInterface
    +
    +friend
    +
    + +

    Definition at line 1038 of file linear_solver.h.

    + +
    +
    + +

    ◆ KnapsackInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class KnapsackInterface
    +
    +friend
    +
    + +

    Definition at line 1043 of file linear_solver.h.

    + +
    +
    + +

    ◆ MPSolver

    + +
    +
    + + + + + +
    + + + + +
    friend class MPSolver
    +
    +friend
    +
    + +

    Definition at line 1031 of file linear_solver.h.

    + +
    +
    + +

    ◆ MPSolverInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class MPSolverInterface
    +
    +friend
    +
    + +

    Definition at line 1032 of file linear_solver.h.

    + +
    +
    + +

    ◆ SatInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SatInterface
    +
    +friend
    +
    + +

    Definition at line 1042 of file linear_solver.h.

    + +
    +
    + +

    ◆ SCIPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SCIPInterface
    +
    +friend
    +
    + +

    Definition at line 1036 of file linear_solver.h.

    + +
    +
    + +

    ◆ SLMInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SLMInterface
    +
    +friend
    +
    + +

    Definition at line 1037 of file linear_solver.h.

    + +
    +
    +
    The documentation for this class was generated from the following file: +
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPObjective.js b/docs/cpp_linear/classoperations__research_1_1MPObjective.js new file mode 100644 index 0000000000..3c0341a015 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPObjective.js @@ -0,0 +1,33 @@ +var classoperations__research_1_1MPObjective = +[ + [ "AddLinearExpr", "classoperations__research_1_1MPObjective.html#a9e03dec6fb0099d48a119dd525879dd7", null ], + [ "BestBound", "classoperations__research_1_1MPObjective.html#a1ab47aaf7b73ae8a2664dd262227e3a9", null ], + [ "Clear", "classoperations__research_1_1MPObjective.html#a2131c9028ff6d7047c8272c3ea3e62e3", null ], + [ "GetCoefficient", "classoperations__research_1_1MPObjective.html#aba6c839cf1c09f5d48ff6072cd6b28c5", null ], + [ "maximization", "classoperations__research_1_1MPObjective.html#a883fc7ee2a166fc6ff257296f78e9565", null ], + [ "MaximizeLinearExpr", "classoperations__research_1_1MPObjective.html#a6927f7e28f694c55d72496c94a9a6b01", null ], + [ "minimization", "classoperations__research_1_1MPObjective.html#a700788b8583ef4c69730be08a1a3ac28", null ], + [ "MinimizeLinearExpr", "classoperations__research_1_1MPObjective.html#a19a354c154bf034196d7a273feeff737", null ], + [ "offset", "classoperations__research_1_1MPObjective.html#a8d6bb2249af13a783033763d292763d4", null ], + [ "OptimizeLinearExpr", "classoperations__research_1_1MPObjective.html#ab1829576c2533e5de48b38447d9f6823", null ], + [ "SetCoefficient", "classoperations__research_1_1MPObjective.html#aad1b0ca33b3a2c45d91e2875feb98c66", null ], + [ "SetMaximization", "classoperations__research_1_1MPObjective.html#a7f1396f72628328fd85ac852191fcc70", null ], + [ "SetMinimization", "classoperations__research_1_1MPObjective.html#af9eea25e667a52dcad270495025e1202", null ], + [ "SetOffset", "classoperations__research_1_1MPObjective.html#a24611f7b12b571fe1e73b629a8a6c17b", null ], + [ "SetOptimizationDirection", "classoperations__research_1_1MPObjective.html#add0f9517dc64b1f768952fc490f7be00", null ], + [ "terms", "classoperations__research_1_1MPObjective.html#ae1f99be84ce9efa28b4c1050af954835", null ], + [ "Value", "classoperations__research_1_1MPObjective.html#a43fd3a9687cfef2591b22c96cbe02477", null ], + [ "BopInterface", "classoperations__research_1_1MPObjective.html#a7383308e6b9b63b18196798db342ce8a", null ], + [ "CBCInterface", "classoperations__research_1_1MPObjective.html#af5a7cf0c655f37c0b388a2ddcf32ac3e", null ], + [ "CLPInterface", "classoperations__research_1_1MPObjective.html#a60944ecdcad88cfb4d4d32feea70c9b5", null ], + [ "CplexInterface", "classoperations__research_1_1MPObjective.html#ae7cbd08108e1636184f28c1a71c42393", null ], + [ "GLOPInterface", "classoperations__research_1_1MPObjective.html#a6c754b527a347994b06eeb49a09ac222", null ], + [ "GLPKInterface", "classoperations__research_1_1MPObjective.html#ae1a3e0a695903c8e6effd524a7f92784", null ], + [ "GurobiInterface", "classoperations__research_1_1MPObjective.html#ac28a56eeedb62d070578a9231f1875ea", null ], + [ "KnapsackInterface", "classoperations__research_1_1MPObjective.html#aee1ddf25e86286c16face31551751bda", null ], + [ "MPSolver", "classoperations__research_1_1MPObjective.html#ac2c01b4de8f7670e37daa7d42b804dd4", null ], + [ "MPSolverInterface", "classoperations__research_1_1MPObjective.html#ac0aea0786e75adbb2d24c41c15e7456c", null ], + [ "SatInterface", "classoperations__research_1_1MPObjective.html#acbd4413b1370baca9c45aecb0cb8ebd2", null ], + [ "SCIPInterface", "classoperations__research_1_1MPObjective.html#a236f9752f4df4c5134617330a040ec8a", null ], + [ "SLMInterface", "classoperations__research_1_1MPObjective.html#a5c083b37243075a00bf909840dc7c933", null ] +]; \ No newline at end of file diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolutionResponse.html b/docs/cpp_linear/classoperations__research_1_1MPSolutionResponse.html index 1585b60c42..f5ecafedba 100644 --- a/docs/cpp_linear/classoperations__research_1_1MPSolutionResponse.html +++ b/docs/cpp_linear/classoperations__research_1_1MPSolutionResponse.html @@ -55,7 +55,7 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1MPSolutio

    Detailed Description

    -

    Definition at line 2072 of file linear_solver.pb.h.

    +

    Definition at line 2061 of file linear_solver.pb.h.

    @@ -78,7 +78,6 @@ Public Member Functions - @@ -107,7 +106,6 @@ Public Member Functions - @@ -122,7 +120,6 @@ Public Member Functions - @@ -137,7 +134,6 @@ Public Member Functions - @@ -152,7 +148,6 @@ Public Member Functions - @@ -161,7 +156,6 @@ Public Member Functions - @@ -170,7 +164,6 @@ Public Member Functions - @@ -305,7 +298,7 @@ Friends

    Public Member Functions

    void Swap (MPSolutionResponse *other)
     
    MPSolutionResponseNew () const final
     implements Message -------------------------------------------— More...
     
    MPSolutionResponseNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    int variable_value_size () const
     nested types -------------------------------------------------— More...
     
    void clear_variable_value ()
     
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_variable_value ()
     
    int dual_value_size () const
     repeated double dual_value = 4 [packed = true]; More...
     
    void clear_dual_value ()
     
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_dual_value ()
     
    int reduced_cost_size () const
     repeated double reduced_cost = 6 [packed = true]; More...
     
    void clear_reduced_cost ()
     
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_reduced_cost ()
     
    bool has_objective_value () const
     optional double objective_value = 2; More...
     
    void clear_objective_value ()
     
    void set_objective_value (double value)
     
    bool has_best_objective_bound () const
     optional double best_objective_bound = 5; More...
     
    void clear_best_objective_bound ()
     
    void set_best_objective_bound (double value)
     
    bool has_status () const
     optional .operations_research.MPSolverResponseStatus status = 1 [default = MPSOLVER_UNKNOWN_STATUS]; More...
     
    void clear_status ()
     
    -

    Definition at line 2079 of file linear_solver.pb.h.

    +

    Definition at line 2068 of file linear_solver.pb.h.

    @@ -333,9 +326,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.MPSolutionResponse.dual_value)

    -

    Definition at line 3736 of file linear_solver.pb.h.

    +

    Definition at line 3713 of file linear_solver.pb.h.

    @@ -362,9 +354,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.MPSolutionResponse.reduced_cost)

    -

    Definition at line 3766 of file linear_solver.pb.h.

    +

    Definition at line 3743 of file linear_solver.pb.h.

    @@ -391,9 +382,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.MPSolutionResponse.variable_value)

    -

    Definition at line 3706 of file linear_solver.pb.h.

    +

    Definition at line 3683 of file linear_solver.pb.h.

    @@ -419,9 +409,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPSolutionResponse.best_objective_bound)

    -

    Definition at line 3681 of file linear_solver.pb.h.

    +

    Definition at line 3658 of file linear_solver.pb.h.

    @@ -498,7 +487,7 @@ Friends
    -

    Definition at line 3677 of file linear_solver.pb.h.

    +

    Definition at line 3654 of file linear_solver.pb.h.

    @@ -525,7 +514,7 @@ Friends
    -

    Definition at line 3725 of file linear_solver.pb.h.

    +

    Definition at line 3702 of file linear_solver.pb.h.

    @@ -552,7 +541,7 @@ Friends
    -

    Definition at line 3659 of file linear_solver.pb.h.

    +

    Definition at line 3636 of file linear_solver.pb.h.

    @@ -579,7 +568,7 @@ Friends
    -

    Definition at line 3755 of file linear_solver.pb.h.

    +

    Definition at line 3732 of file linear_solver.pb.h.

    @@ -606,7 +595,7 @@ Friends
    -

    Definition at line 3640 of file linear_solver.pb.h.

    +

    Definition at line 3617 of file linear_solver.pb.h.

    @@ -633,7 +622,7 @@ Friends
    -

    Definition at line 3695 of file linear_solver.pb.h.

    +

    Definition at line 3672 of file linear_solver.pb.h.

    @@ -729,7 +718,7 @@ Friends
    -

    Definition at line 2104 of file linear_solver.pb.h.

    +

    Definition at line 2093 of file linear_solver.pb.h.

    @@ -756,9 +745,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPSolutionResponse.dual_value)

    -

    Definition at line 3728 of file linear_solver.pb.h.

    +

    Definition at line 3705 of file linear_solver.pb.h.

    @@ -784,9 +772,8 @@ Friends
    -

    @protoc_insertion_point(field_list:operations_research.MPSolutionResponse.dual_value)

    -

    Definition at line 3741 of file linear_solver.pb.h.

    +

    Definition at line 3718 of file linear_solver.pb.h.

    @@ -813,9 +800,7 @@ Friends
    -

    repeated double dual_value = 4 [packed = true];

    - -

    Definition at line 3722 of file linear_solver.pb.h.

    +

    Definition at line 3699 of file linear_solver.pb.h.

    @@ -842,7 +827,7 @@ Friends
    -

    Definition at line 2155 of file linear_solver.pb.h.

    +

    Definition at line 2144 of file linear_solver.pb.h.

    @@ -869,7 +854,7 @@ Friends
    -

    Definition at line 2107 of file linear_solver.pb.h.

    +

    Definition at line 2096 of file linear_solver.pb.h.

    @@ -921,7 +906,7 @@ Friends
    -

    Definition at line 2110 of file linear_solver.pb.h.

    +

    Definition at line 2099 of file linear_solver.pb.h.

    @@ -948,9 +933,7 @@ Friends
    -

    optional double best_objective_bound = 5;

    - -

    Definition at line 3674 of file linear_solver.pb.h.

    +

    Definition at line 3651 of file linear_solver.pb.h.

    @@ -977,9 +960,7 @@ Friends
    -

    optional double objective_value = 2;

    - -

    Definition at line 3656 of file linear_solver.pb.h.

    +

    Definition at line 3633 of file linear_solver.pb.h.

    @@ -1006,11 +987,7 @@ Friends
    -

    optional .operations_research.MPSolverResponseStatus status = 1 [default = MPSOLVER_UNKNOWN_STATUS];

    -

    MPSolutionResponse.

    -

    optional .operations_research.MPSolverResponseStatus status = 1 [default = MPSOLVER_UNKNOWN_STATUS];

    - -

    Definition at line 3637 of file linear_solver.pb.h.

    +

    Definition at line 3614 of file linear_solver.pb.h.

    @@ -1062,7 +1039,7 @@ Friends
    -

    Definition at line 2116 of file linear_solver.pb.h.

    +

    Definition at line 2105 of file linear_solver.pb.h.

    @@ -1209,9 +1186,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.MPSolutionResponse.dual_value)

    -

    Definition at line 3746 of file linear_solver.pb.h.

    +

    Definition at line 3723 of file linear_solver.pb.h.

    @@ -1237,9 +1213,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.MPSolutionResponse.reduced_cost)

    -

    Definition at line 3776 of file linear_solver.pb.h.

    +

    Definition at line 3753 of file linear_solver.pb.h.

    @@ -1266,7 +1241,7 @@ Friends
    -

    Definition at line 2100 of file linear_solver.pb.h.

    +

    Definition at line 2089 of file linear_solver.pb.h.

    @@ -1292,9 +1267,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.MPSolutionResponse.variable_value)

    -

    Definition at line 3716 of file linear_solver.pb.h.

    +

    Definition at line 3693 of file linear_solver.pb.h.

    @@ -1321,9 +1295,7 @@ Friends
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 2130 of file linear_solver.pb.h.

    +

    Definition at line 2119 of file linear_solver.pb.h.

    @@ -1351,7 +1323,7 @@ Friends
    -

    Definition at line 2134 of file linear_solver.pb.h.

    +

    Definition at line 2123 of file linear_solver.pb.h.

    @@ -1377,9 +1349,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPSolutionResponse.objective_value)

    -

    Definition at line 3663 of file linear_solver.pb.h.

    +

    Definition at line 3640 of file linear_solver.pb.h.

    @@ -1407,7 +1378,7 @@ Friends
    -

    Definition at line 2084 of file linear_solver.pb.h.

    +

    Definition at line 2073 of file linear_solver.pb.h.

    @@ -1435,7 +1406,7 @@ Friends
    -

    Definition at line 2088 of file linear_solver.pb.h.

    +

    Definition at line 2077 of file linear_solver.pb.h.

    @@ -1462,9 +1433,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPSolutionResponse.reduced_cost)

    -

    Definition at line 3758 of file linear_solver.pb.h.

    +

    Definition at line 3735 of file linear_solver.pb.h.

    @@ -1490,9 +1460,8 @@ Friends
    -

    @protoc_insertion_point(field_list:operations_research.MPSolutionResponse.reduced_cost)

    -

    Definition at line 3771 of file linear_solver.pb.h.

    +

    Definition at line 3748 of file linear_solver.pb.h.

    @@ -1519,9 +1488,7 @@ Friends
    -

    repeated double reduced_cost = 6 [packed = true];

    - -

    Definition at line 3752 of file linear_solver.pb.h.

    +

    Definition at line 3729 of file linear_solver.pb.h.

    @@ -1574,9 +1541,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPSolutionResponse.best_objective_bound)

    -

    Definition at line 3685 of file linear_solver.pb.h.

    +

    Definition at line 3662 of file linear_solver.pb.h.

    @@ -1613,9 +1579,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPSolutionResponse.dual_value)

    -

    Definition at line 3732 of file linear_solver.pb.h.

    +

    Definition at line 3709 of file linear_solver.pb.h.

    @@ -1642,9 +1607,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPSolutionResponse.objective_value)

    -

    Definition at line 3667 of file linear_solver.pb.h.

    +

    Definition at line 3644 of file linear_solver.pb.h.

    @@ -1681,9 +1645,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPSolutionResponse.reduced_cost)

    -

    Definition at line 3762 of file linear_solver.pb.h.

    +

    Definition at line 3739 of file linear_solver.pb.h.

    @@ -1710,9 +1673,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPSolutionResponse.status)

    -

    Definition at line 3648 of file linear_solver.pb.h.

    +

    Definition at line 3625 of file linear_solver.pb.h.

    @@ -1749,9 +1711,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPSolutionResponse.variable_value)

    -

    Definition at line 3702 of file linear_solver.pb.h.

    +

    Definition at line 3679 of file linear_solver.pb.h.

    @@ -1777,9 +1738,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPSolutionResponse.status)

    -

    Definition at line 3644 of file linear_solver.pb.h.

    +

    Definition at line 3621 of file linear_solver.pb.h.

    @@ -1824,7 +1784,7 @@ Friends
    -

    Definition at line 2097 of file linear_solver.pb.h.

    +

    Definition at line 2086 of file linear_solver.pb.h.

    @@ -1851,9 +1811,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPSolutionResponse.variable_value)

    -

    Definition at line 3698 of file linear_solver.pb.h.

    +

    Definition at line 3675 of file linear_solver.pb.h.

    @@ -1879,9 +1838,8 @@ Friends
    -

    @protoc_insertion_point(field_list:operations_research.MPSolutionResponse.variable_value)

    -

    Definition at line 3711 of file linear_solver.pb.h.

    +

    Definition at line 3688 of file linear_solver.pb.h.

    @@ -1908,11 +1866,7 @@ Friends
    -

    nested types -------------------------------------------------—

    -

    repeated double variable_value = 3 [packed = true];

    -

    accessors ----------------------------------------------------— repeated double variable_value = 3 [packed = true];

    - -

    Definition at line 3692 of file linear_solver.pb.h.

    +

    Definition at line 3669 of file linear_solver.pb.h.

    @@ -1937,7 +1891,7 @@ Friends
    -

    Definition at line 2162 of file linear_solver.pb.h.

    +

    Definition at line 2151 of file linear_solver.pb.h.

    @@ -1961,7 +1915,7 @@ Friends
    -

    Definition at line 2261 of file linear_solver.pb.h.

    +

    Definition at line 2250 of file linear_solver.pb.h.

    @@ -1999,7 +1953,7 @@ Friends
    -

    Definition at line 2124 of file linear_solver.pb.h.

    +

    Definition at line 2113 of file linear_solver.pb.h.

    @@ -2024,7 +1978,7 @@ Friends
    -

    Definition at line 2234 of file linear_solver.pb.h.

    +

    Definition at line 2223 of file linear_solver.pb.h.

    @@ -2048,7 +2002,7 @@ Friends
    -

    Definition at line 2203 of file linear_solver.pb.h.

    +

    Definition at line 2192 of file linear_solver.pb.h.

    @@ -2072,7 +2026,7 @@ Friends
    Initial value:
    =
    10
    -

    Definition at line 2120 of file linear_solver.pb.h.

    +

    Definition at line 2109 of file linear_solver.pb.h.

    @@ -2096,7 +2050,7 @@ Friends
    -

    Definition at line 2227 of file linear_solver.pb.h.

    +

    Definition at line 2216 of file linear_solver.pb.h.

    @@ -2120,7 +2074,7 @@ Friends
    -

    Definition at line 2215 of file linear_solver.pb.h.

    +

    Definition at line 2204 of file linear_solver.pb.h.

    @@ -2144,7 +2098,7 @@ Friends
    -

    Definition at line 2241 of file linear_solver.pb.h.

    +

    Definition at line 2230 of file linear_solver.pb.h.

    @@ -2168,7 +2122,7 @@ Friends
    -

    Definition at line 2191 of file linear_solver.pb.h.

    +

    Definition at line 2180 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolver-members.html b/docs/cpp_linear/classoperations__research_1_1MPSolver-members.html new file mode 100644 index 0000000000..ef2aee5a0f --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPSolver-members.html @@ -0,0 +1,163 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    +
    +
    operations_research::MPSolver Member List
    +
    +
    + +

    This is the complete list of members for operations_research::MPSolver, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ABNORMAL enum valueoperations_research::MPSolver
    AT_LOWER_BOUND enum valueoperations_research::MPSolver
    AT_UPPER_BOUND enum valueoperations_research::MPSolver
    BASIC enum valueoperations_research::MPSolver
    BasisStatus enum nameoperations_research::MPSolver
    BOP_INTEGER_PROGRAMMING enum valueoperations_research::MPSolver
    BopInterface classoperations_research::MPSolverfriend
    CBC_MIXED_INTEGER_PROGRAMMING enum valueoperations_research::MPSolver
    CBCInterface classoperations_research::MPSolverfriend
    ClampSolutionWithinBounds()operations_research::MPSolver
    Clear()operations_research::MPSolver
    CLP_LINEAR_PROGRAMMING enum valueoperations_research::MPSolver
    CLPInterface classoperations_research::MPSolverfriend
    ComputeConstraintActivities() constoperations_research::MPSolver
    ComputeExactConditionNumber() constoperations_research::MPSolver
    constraints() constoperations_research::MPSolverinline
    CplexInterface classoperations_research::MPSolverfriend
    DurationSinceConstruction() constoperations_research::MPSolverinline
    EnableOutput()operations_research::MPSolver
    ExportModelAsLpFormat(bool obfuscate, std::string *model_str) constoperations_research::MPSolver
    ExportModelAsMpsFormat(bool fixed_format, bool obfuscate, std::string *model_str) constoperations_research::MPSolver
    ExportModelToProto(MPModelProto *output_model) constoperations_research::MPSolver
    FEASIBLE enum valueoperations_research::MPSolver
    FillSolutionResponseProto(MPSolutionResponse *response) constoperations_research::MPSolver
    FIXED_VALUE enum valueoperations_research::MPSolver
    FREE enum valueoperations_research::MPSolver
    GetNumThreads() constoperations_research::MPSolverinline
    GetSolverSpecificParametersAsString() constoperations_research::MPSolverinline
    GLOP_LINEAR_PROGRAMMING enum valueoperations_research::MPSolver
    GLOPInterface classoperations_research::MPSolverfriend
    GLPKInterface classoperations_research::MPSolverfriend
    GurobiInterface classoperations_research::MPSolverfriend
    INFEASIBLE enum valueoperations_research::MPSolver
    infinity()operations_research::MPSolverinlinestatic
    InterruptSolve()operations_research::MPSolver
    IsMIP() constoperations_research::MPSolver
    iterations() constoperations_research::MPSolver
    KnapsackInterface classoperations_research::MPSolverfriend
    LoadModelFromProto(const MPModelProto &input_model, std::string *error_message)operations_research::MPSolver
    LoadModelFromProtoWithUniqueNamesOrDie(const MPModelProto &input_model, std::string *error_message)operations_research::MPSolver
    LoadSolutionFromProto(const MPSolutionResponse &response, double tolerance=kDefaultPrimalTolerance)operations_research::MPSolver
    LookupConstraintOrNull(const std::string &constraint_name) constoperations_research::MPSolver
    LookupVariableOrNull(const std::string &var_name) constoperations_research::MPSolver
    MakeBoolVar(const std::string &name)operations_research::MPSolver
    MakeBoolVarArray(int nb, const std::string &name, std::vector< MPVariable * > *vars)operations_research::MPSolver
    MakeIntVar(double lb, double ub, const std::string &name)operations_research::MPSolver
    MakeIntVarArray(int nb, double lb, double ub, const std::string &name, std::vector< MPVariable * > *vars)operations_research::MPSolver
    MakeNumVar(double lb, double ub, const std::string &name)operations_research::MPSolver
    MakeNumVarArray(int nb, double lb, double ub, const std::string &name, std::vector< MPVariable * > *vars)operations_research::MPSolver
    MakeRowConstraint(double lb, double ub)operations_research::MPSolver
    MakeRowConstraint()operations_research::MPSolver
    MakeRowConstraint(double lb, double ub, const std::string &name)operations_research::MPSolver
    MakeRowConstraint(const std::string &name)operations_research::MPSolver
    MakeRowConstraint(const LinearRange &range)operations_research::MPSolver
    MakeRowConstraint(const LinearRange &range, const std::string &name)operations_research::MPSolver
    MakeVar(double lb, double ub, bool integer, const std::string &name)operations_research::MPSolver
    MakeVarArray(int nb, double lb, double ub, bool integer, const std::string &name_prefix, std::vector< MPVariable * > *vars)operations_research::MPSolver
    MODEL_INVALID enum valueoperations_research::MPSolver
    MPSolver(const std::string &name, OptimizationProblemType problem_type)operations_research::MPSolver
    MPSolverInterface classoperations_research::MPSolverfriend
    MutableObjective()operations_research::MPSolverinline
    Name() constoperations_research::MPSolverinline
    NextSolution()operations_research::MPSolver
    nodes() constoperations_research::MPSolver
    NOT_SOLVED enum valueoperations_research::MPSolver
    NumConstraints() constoperations_research::MPSolverinline
    NumVariables() constoperations_research::MPSolverinline
    Objective() constoperations_research::MPSolverinline
    OPTIMAL enum valueoperations_research::MPSolver
    OptimizationProblemType enum nameoperations_research::MPSolver
    OutputIsEnabled() constoperations_research::MPSolver
    OwnsVariable(const MPVariable *var) constoperations_research::MPSolver
    ParseSolverType(absl::string_view solver, OptimizationProblemType *type)operations_research::MPSolverstatic
    ProblemType() constoperations_research::MPSolverinlinevirtual
    Reset()operations_research::MPSolver
    ResultStatus enum nameoperations_research::MPSolver
    SatInterface classoperations_research::MPSolverfriend
    SCIP_MIXED_INTEGER_PROGRAMMING enum valueoperations_research::MPSolver
    SCIPInterface classoperations_research::MPSolverfriend
    set_time_limit(int64 time_limit_milliseconds)operations_research::MPSolverinline
    SetHint(std::vector< std::pair< const MPVariable *, double > > hint)operations_research::MPSolver
    SetNumThreads(int num_threads)operations_research::MPSolver
    SetSolverSpecificParametersAsString(const std::string &parameters)operations_research::MPSolver
    SetStartingLpBasis(const std::vector< MPSolver::BasisStatus > &variable_statuses, const std::vector< MPSolver::BasisStatus > &constraint_statuses)operations_research::MPSolver
    SetTimeLimit(absl::Duration time_limit)operations_research::MPSolverinline
    SLMInterface classoperations_research::MPSolverfriend
    Solve()operations_research::MPSolver
    Solve(const MPSolverParameters &param)operations_research::MPSolver
    SolverVersion() constoperations_research::MPSolver
    SolveWithProto(const MPModelRequest &model_request, MPSolutionResponse *response)operations_research::MPSolverstatic
    SupportsProblemType(OptimizationProblemType problem_type)operations_research::MPSolverstatic
    SuppressOutput()operations_research::MPSolver
    time_limit() constoperations_research::MPSolverinline
    time_limit_in_secs() constoperations_research::MPSolverinline
    TimeLimit() constoperations_research::MPSolverinline
    UNBOUNDED enum valueoperations_research::MPSolver
    underlying_solver()operations_research::MPSolver
    variables() constoperations_research::MPSolverinline
    VerifySolution(double tolerance, bool log_errors) constoperations_research::MPSolver
    wall_time() constoperations_research::MPSolverinline
    Write(const std::string &file_name)operations_research::MPSolver
    ~MPSolver()operations_research::MPSolvervirtual
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolver.html b/docs/cpp_linear/classoperations__research_1_1MPSolver.html new file mode 100644 index 0000000000..ecf2eb0afa --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPSolver.html @@ -0,0 +1,2651 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    + +
    +
    operations_research::MPSolver Class Reference
    +
    +
    +

    Detailed Description

    +

    This mathematical programming (MP) solver class is the main class though which users build and solve problems.

    + +

    Definition at line 174 of file linear_solver.h.

    +
    + + + + + + + + + + +

    +Public Types

    enum  OptimizationProblemType {
    +  CLP_LINEAR_PROGRAMMING = 0, +GLOP_LINEAR_PROGRAMMING = 2, +SCIP_MIXED_INTEGER_PROGRAMMING = 3, +CBC_MIXED_INTEGER_PROGRAMMING = 5, +
    +  BOP_INTEGER_PROGRAMMING = 12 +
    + }
     The type of problems (LP or MIP) that will be solved and the underlying solver (GLOP, GLPK, CLP, CBC or SCIP) that will solve them. More...
     
    enum  ResultStatus {
    +  OPTIMAL, +FEASIBLE, +INFEASIBLE, +UNBOUNDED, +
    +  ABNORMAL, +MODEL_INVALID, +NOT_SOLVED = 6 +
    + }
     The status of solving the problem. More...
     
    enum  BasisStatus {
    +  FREE = 0, +AT_LOWER_BOUND, +AT_UPPER_BOUND, +FIXED_VALUE, +
    +  BASIC +
    + }
     Advanced usage: possible basis status values for a variable and the slack variable of a linear constraint. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     MPSolver (const std::string &name, OptimizationProblemType problem_type)
     Create a solver with the given name and underlying solver backend. More...
     
    virtual ~MPSolver ()
     
    bool IsMIP () const
     
    const std::string & Name () const
     Returns the name of the model set at construction. More...
     
    virtual OptimizationProblemType ProblemType () const
     Returns the optimization problem type set at construction. More...
     
    void Clear ()
     Clears the objective (including the optimization direction), all variables and constraints. More...
     
    int NumVariables () const
     Returns the number of variables. More...
     
    const std::vector< MPVariable * > & variables () const
     Returns the array of variables handled by the MPSolver. More...
     
    MPVariableLookupVariableOrNull (const std::string &var_name) const
     Looks up a variable by name, and returns nullptr if it does not exist. More...
     
    MPVariableMakeVar (double lb, double ub, bool integer, const std::string &name)
     Creates a variable with the given bounds, integrality requirement and name. More...
     
    MPVariableMakeNumVar (double lb, double ub, const std::string &name)
     Creates a continuous variable. More...
     
    MPVariableMakeIntVar (double lb, double ub, const std::string &name)
     Creates an integer variable. More...
     
    MPVariableMakeBoolVar (const std::string &name)
     Creates a boolean variable. More...
     
    void MakeVarArray (int nb, double lb, double ub, bool integer, const std::string &name_prefix, std::vector< MPVariable * > *vars)
     Creates an array of variables. More...
     
    void MakeNumVarArray (int nb, double lb, double ub, const std::string &name, std::vector< MPVariable * > *vars)
     Creates an array of continuous variables. More...
     
    void MakeIntVarArray (int nb, double lb, double ub, const std::string &name, std::vector< MPVariable * > *vars)
     Creates an array of integer variables. More...
     
    void MakeBoolVarArray (int nb, const std::string &name, std::vector< MPVariable * > *vars)
     Creates an array of boolean variables. More...
     
    int NumConstraints () const
     Returns the number of constraints. More...
     
    const std::vector< MPConstraint * > & constraints () const
     Returns the array of constraints handled by the MPSolver. More...
     
    MPConstraintLookupConstraintOrNull (const std::string &constraint_name) const
     Looks up a constraint by name, and returns nullptr if it does not exist. More...
     
    MPConstraintMakeRowConstraint (double lb, double ub)
     Creates a linear constraint with given bounds. More...
     
    MPConstraintMakeRowConstraint ()
     Creates a constraint with -infinity and +infinity bounds. More...
     
    MPConstraintMakeRowConstraint (double lb, double ub, const std::string &name)
     Creates a named constraint with given bounds. More...
     
    MPConstraintMakeRowConstraint (const std::string &name)
     Creates a named constraint with -infinity and +infinity bounds. More...
     
    MPConstraintMakeRowConstraint (const LinearRange &range)
     Creates a constraint owned by MPSolver enforcing: range.lower_bound() <= range.linear_expr() <= range.upper_bound() More...
     
    MPConstraintMakeRowConstraint (const LinearRange &range, const std::string &name)
     As above, but also names the constraint. More...
     
    const MPObjectiveObjective () const
     Returns the objective object. More...
     
    MPObjectiveMutableObjective ()
     Returns the mutable objective object. More...
     
    ResultStatus Solve ()
     Solves the problem using default parameter values. More...
     
    ResultStatus Solve (const MPSolverParameters &param)
     Solves the problem using the specified parameter values. More...
     
    void Write (const std::string &file_name)
     Writes the model using the solver internal write function. More...
     
    std::vector< double > ComputeConstraintActivities () const
     Advanced usage: compute the "activities" of all constraints, which are the sums of their linear terms. More...
     
    bool VerifySolution (double tolerance, bool log_errors) const
     Advanced usage: Verifies the correctness of the solution. More...
     
    void Reset ()
     Advanced usage: resets extracted model to solve from scratch. More...
     
    bool InterruptSolve ()
     Interrupts the Solve() execution to terminate processing if possible. More...
     
    MPSolverResponseStatus LoadModelFromProto (const MPModelProto &input_model, std::string *error_message)
     Loads model from protocol buffer. More...
     
    MPSolverResponseStatus LoadModelFromProtoWithUniqueNamesOrDie (const MPModelProto &input_model, std::string *error_message)
     Loads model from protocol buffer. More...
     
    void FillSolutionResponseProto (MPSolutionResponse *response) const
     Encodes the current solution in a solution response protocol buffer. More...
     
    void ExportModelToProto (MPModelProto *output_model) const
     Exports model to protocol buffer. More...
     
    util::Status LoadSolutionFromProto (const MPSolutionResponse &response, double tolerance=kDefaultPrimalTolerance)
     Load a solution encoded in a protocol buffer onto this solver for easy access via the MPSolver interface. More...
     
    util::Status ClampSolutionWithinBounds ()
     Resets values of out of bound variables to the corresponding bound and returns an error if any of the variables have NaN value. More...
     
    bool ExportModelAsLpFormat (bool obfuscate, std::string *model_str) const
     Shortcuts to the homonymous MPModelProtoExporter methods, via exporting to a MPModelProto with ExportModelToProto() (see above). More...
     
    bool ExportModelAsMpsFormat (bool fixed_format, bool obfuscate, std::string *model_str) const
     
    util::Status SetNumThreads (int num_threads)
     Sets the number of threads to use by the underlying solver. More...
     
    int GetNumThreads () const
     Returns the number of threads to be used during solve. More...
     
    bool SetSolverSpecificParametersAsString (const std::string &parameters)
     Advanced usage: pass solver specific parameters in text format. More...
     
    std::string GetSolverSpecificParametersAsString () const
     
    void SetHint (std::vector< std::pair< const MPVariable *, double > > hint)
     Set a hint for solution. More...
     
    void SetStartingLpBasis (const std::vector< MPSolver::BasisStatus > &variable_statuses, const std::vector< MPSolver::BasisStatus > &constraint_statuses)
     Advanced usage: Incrementality. More...
     
    bool OutputIsEnabled () const
     Controls (or queries) the amount of output produced by the underlying solver. More...
     
    void EnableOutput ()
     Enable output. More...
     
    void SuppressOutput ()
     Suppress output. More...
     
    absl::Duration TimeLimit () const
     
    void SetTimeLimit (absl::Duration time_limit)
     
    absl::Duration DurationSinceConstruction () const
     
    int64 iterations () const
     Returns the number of simplex iterations. More...
     
    int64 nodes () const
     Returns the number of branch-and-bound nodes evaluated during the solve. More...
     
    std::string SolverVersion () const
     Returns a std::string describing the underlying solver and its version. More...
     
    void * underlying_solver ()
     Advanced usage: returns the underlying solver. More...
     
    double ComputeExactConditionNumber () const
     Advanced usage: computes the exact condition number of the current scaled basis: L1norm(B) * L1norm(inverse(B)), where B is the scaled basis. More...
     
    ABSL_MUST_USE_RESULT bool NextSolution ()
     Some solvers (MIP only, not LP) can produce multiple solutions to the problem. More...
     
    int64 time_limit () const
     
    void set_time_limit (int64 time_limit_milliseconds)
     
    double time_limit_in_secs () const
     
    int64 wall_time () const
     
    bool OwnsVariable (const MPVariable *var) const
     
    + + + + + + + + + + + + + +

    +Static Public Member Functions

    static bool SupportsProblemType (OptimizationProblemType problem_type)
     Whether the given problem type is supported (this will depend on the targets that you linked). More...
     
    static bool ParseSolverType (absl::string_view solver, OptimizationProblemType *type)
     Parses the name of the solver. More...
     
    static void SolveWithProto (const MPModelRequest &model_request, MPSolutionResponse *response)
     Solves the model encoded by a MPModelRequest protocol buffer and fills the solution encoded as a MPSolutionResponse. More...
     
    static double infinity ()
     Infinity. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Friends

    class GLPKInterface
     
    class CLPInterface
     
    class CBCInterface
     
    class SCIPInterface
     
    class GurobiInterface
     
    class CplexInterface
     
    class SLMInterface
     
    class MPSolverInterface
     
    class GLOPInterface
     
    class BopInterface
     
    class SatInterface
     
    class KnapsackInterface
     
    +

    Member Enumeration Documentation

    + +

    ◆ BasisStatus

    + +
    +
    + +

    Advanced usage: possible basis status values for a variable and the slack variable of a linear constraint.

    + + + + + + +
    Enumerator
    FREE 
    AT_LOWER_BOUND 
    AT_UPPER_BOUND 
    FIXED_VALUE 
    BASIC 
    + +

    Definition at line 654 of file linear_solver.h.

    + +
    +
    + +

    ◆ OptimizationProblemType

    + +
    +
    + +

    The type of problems (LP or MIP) that will be solved and the underlying solver (GLOP, GLPK, CLP, CBC or SCIP) that will solve them.

    +

    This must remain consistent with MPModelRequest::OptimizationProblemType (take particular care of the open-source version).

    + + + + + + +
    Enumerator
    CLP_LINEAR_PROGRAMMING 

    Linear Programming solver using Coin CBC.

    +
    GLOP_LINEAR_PROGRAMMING 

    Linear Programming solver using GLOP (Recommended solver).

    +
    SCIP_MIXED_INTEGER_PROGRAMMING 

    Mixed integer Programming Solver using SCIP.

    +

    (Recommended for problems with continous variables)

    +
    CBC_MIXED_INTEGER_PROGRAMMING 

    Mixed integer Programming Solver using Coin CBC.

    +
    BOP_INTEGER_PROGRAMMING 

    Linear Boolean Programming Solver.

    +
    + +

    Definition at line 182 of file linear_solver.h.

    + +
    +
    + +

    ◆ ResultStatus

    + +
    +
    + +

    The status of solving the problem.

    +

    The straightforward translation to homonymous enum values of MPSolverResponseStatus (see ./linear_solver.proto) is guaranteed by ./enum_consistency_test.cc, you may rely on it.

    + + + + + + + + +
    Enumerator
    OPTIMAL 

    optimal.

    +
    FEASIBLE 

    feasible, or stopped by limit.

    +
    INFEASIBLE 

    proven infeasible.

    +
    UNBOUNDED 

    proven unbounded.

    +
    ABNORMAL 

    abnormal, i.e., error of some kind.

    +
    MODEL_INVALID 

    the model is trivially invalid (NaN coefficients, etc).

    +
    NOT_SOLVED 

    not been solved yet.

    +
    + +

    Definition at line 431 of file linear_solver.h.

    + +
    +
    +

    Constructor & Destructor Documentation

    + +

    ◆ MPSolver()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    operations_research::MPSolver::MPSolver (const std::string & name,
    OptimizationProblemType problem_type 
    )
    +
    + +

    Create a solver with the given name and underlying solver backend.

    + +
    +
    + +

    ◆ ~MPSolver()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual operations_research::MPSolver::~MPSolver ()
    +
    +virtual
    +
    + +
    +
    +

    Member Function Documentation

    + +

    ◆ ClampSolutionWithinBounds()

    + +
    +
    + + + + + + + +
    util::Status operations_research::MPSolver::ClampSolutionWithinBounds ()
    +
    + +

    Resets values of out of bound variables to the corresponding bound and returns an error if any of the variables have NaN value.

    + +
    +
    + +

    ◆ Clear()

    + +
    +
    + + + + + + + +
    void operations_research::MPSolver::Clear ()
    +
    + +

    Clears the objective (including the optimization direction), all variables and constraints.

    +

    All the other properties of the MPSolver (like the time limit) are kept untouched.

    + +
    +
    + +

    ◆ ComputeConstraintActivities()

    + +
    +
    + + + + + + + +
    std::vector<double> operations_research::MPSolver::ComputeConstraintActivities () const
    +
    + +

    Advanced usage: compute the "activities" of all constraints, which are the sums of their linear terms.

    +

    The activities are returned in the same order as constraints(), which is the order in which constraints were added; but you can also use MPConstraint::index() to get a constraint's index.

    + +
    +
    + +

    ◆ ComputeExactConditionNumber()

    + +
    +
    + + + + + + + +
    double operations_research::MPSolver::ComputeExactConditionNumber () const
    +
    + +

    Advanced usage: computes the exact condition number of the current scaled basis: L1norm(B) * L1norm(inverse(B)), where B is the scaled basis.

    +

    This method requires that a basis exists: it should be called after Solve. It is only available for continuous problems. It is implemented for GLPK but not CLP because CLP does not provide the API for doing it.

    +

    The condition number measures how well the constraint matrix is conditioned and can be used to predict whether numerical issues will arise during the solve: the model is declared infeasible whereas it is feasible (or vice-versa), the solution obtained is not optimal or violates some constraints, the resolution is slow because of repeated singularities.

    +

    The rule of thumb to interpret the condition number kappa is:

      +
    • o kappa <= 1e7: virtually no chance of numerical issues
    • +
    • o 1e7 < kappa <= 1e10: small chance of numerical issues
    • +
    • o 1e10 < kappa <= 1e13: medium chance of numerical issues
    • +
    • o kappa > 1e13: high chance of numerical issues
    • +
    +

    The computation of the condition number depends on the quality of the LU decomposition, so it is not very accurate when the matrix is ill conditioned.

    + +
    +
    + +

    ◆ constraints()

    + +
    +
    + + + + + +
    + + + + + + + +
    const std::vector<MPConstraint*>& operations_research::MPSolver::constraints () const
    +
    +inline
    +
    + +

    Returns the array of constraints handled by the MPSolver.

    +

    They are listed in the order in which they were created.

    + +

    Definition at line 363 of file linear_solver.h.

    + +
    +
    + +

    ◆ DurationSinceConstruction()

    + +
    +
    + + + + + +
    + + + + + + + +
    absl::Duration operations_research::MPSolver::DurationSinceConstruction () const
    +
    +inline
    +
    + +

    Definition at line 704 of file linear_solver.h.

    + +
    +
    + +

    ◆ EnableOutput()

    + +
    +
    + + + + + + + +
    void operations_research::MPSolver::EnableOutput ()
    +
    + +

    Enable output.

    + +
    +
    + +

    ◆ ExportModelAsLpFormat()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool operations_research::MPSolver::ExportModelAsLpFormat (bool obfuscate,
    std::string * model_str 
    ) const
    +
    + +

    Shortcuts to the homonymous MPModelProtoExporter methods, via exporting to a MPModelProto with ExportModelToProto() (see above).

    +

    Produces empty std::string on portable platforms (e.g. android, ios).

    + +
    +
    + +

    ◆ ExportModelAsMpsFormat()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    bool operations_research::MPSolver::ExportModelAsMpsFormat (bool fixed_format,
    bool obfuscate,
    std::string * model_str 
    ) const
    +
    + +
    +
    + +

    ◆ ExportModelToProto()

    + +
    +
    + + + + + + + + +
    void operations_research::MPSolver::ExportModelToProto (MPModelProtooutput_model) const
    +
    + +

    Exports model to protocol buffer.

    + +
    +
    + +

    ◆ FillSolutionResponseProto()

    + +
    +
    + + + + + + + + +
    void operations_research::MPSolver::FillSolutionResponseProto (MPSolutionResponseresponse) const
    +
    + +

    Encodes the current solution in a solution response protocol buffer.

    + +
    +
    + +

    ◆ GetNumThreads()

    + +
    +
    + + + + + +
    + + + + + + + +
    int operations_research::MPSolver::GetNumThreads () const
    +
    +inline
    +
    + +

    Returns the number of threads to be used during solve.

    + +

    Definition at line 618 of file linear_solver.h.

    + +
    +
    + +

    ◆ GetSolverSpecificParametersAsString()

    + +
    +
    + + + + + +
    + + + + + + + +
    std::string operations_research::MPSolver::GetSolverSpecificParametersAsString () const
    +
    +inline
    +
    + +

    Definition at line 631 of file linear_solver.h.

    + +
    +
    + +

    ◆ infinity()

    + +
    +
    + + + + + +
    + + + + + + + +
    static double operations_research::MPSolver::infinity ()
    +
    +inlinestatic
    +
    + +

    Infinity.

    +

    You can use -MPSolver::infinity() for negative infinity.

    + +

    Definition at line 682 of file linear_solver.h.

    + +
    +
    + +

    ◆ InterruptSolve()

    + +
    +
    + + + + + + + +
    bool operations_research::MPSolver::InterruptSolve ()
    +
    + +

    Interrupts the Solve() execution to terminate processing if possible.

    +

    If the underlying interface supports interruption; it does that and returns true regardless of whether there's an ongoing Solve() or not. The Solve() call may still linger for a while depending on the conditions. If interruption is not supported; returns false and does nothing.

    + +
    +
    + +

    ◆ IsMIP()

    + +
    +
    + + + + + + + +
    bool operations_research::MPSolver::IsMIP () const
    +
    + +
    +
    + +

    ◆ iterations()

    + +
    +
    + + + + + + + +
    int64 operations_research::MPSolver::iterations () const
    +
    + +

    Returns the number of simplex iterations.

    + +
    +
    + +

    ◆ LoadModelFromProto()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    MPSolverResponseStatus operations_research::MPSolver::LoadModelFromProto (const MPModelProtoinput_model,
    std::string * error_message 
    )
    +
    + +

    Loads model from protocol buffer.

    +

    Returns MPSOLVER_MODEL_IS_VALID if the model is valid, and another status otherwise (currently only MPSOLVER_MODEL_INVALID and MPSOLVER_INFEASIBLE). If the model isn't valid, populates "error_message".

    + +
    +
    + +

    ◆ LoadModelFromProtoWithUniqueNamesOrDie()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    MPSolverResponseStatus operations_research::MPSolver::LoadModelFromProtoWithUniqueNamesOrDie (const MPModelProtoinput_model,
    std::string * error_message 
    )
    +
    + +

    Loads model from protocol buffer.

    +

    The same as above, except that the loading keeps original variable and constraint names. Caller should make sure that all variable names and constraint names are unique, respectively.

    + +
    +
    + +

    ◆ LoadSolutionFromProto()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    util::Status operations_research::MPSolver::LoadSolutionFromProto (const MPSolutionResponseresponse,
    double tolerance = kDefaultPrimalTolerance 
    )
    +
    + +

    Load a solution encoded in a protocol buffer onto this solver for easy access via the MPSolver interface.

    +

    IMPORTANT: This may only be used in conjunction with ExportModel(), following this example:

    +
    MPSolver my_solver;
    ... add variables and constraints ...
    MPModelProto model_proto;
    my_solver.ExportModelToProto(&model_proto);
    MPSolutionResponse solver_response;
    // This can be replaced by a stubby call to the linear solver server.
    MPSolver::SolveWithProto(model_proto, &solver_response);
    if (solver_response.result_status() == MPSolutionResponse::OPTIMAL) {
    CHECK_OK(my_solver.LoadSolutionFromProto(solver_response));
    ... inspect the solution using the usual API: solution_value(), etc...
    }

    The response must be in OPTIMAL or FEASIBLE status.

    +

    Returns a non-OK status if a problem arised (typically, if it wasn't used like it should be):

      +
    • loading a solution whose variables don't correspond to the solver's current variables
    • +
    • loading a solution with a status other than OPTIMAL / FEASIBLE.
    • +
    +

    Note: the objective value isn't checked. You can use VerifySolution() for that.

    + +
    +
    + +

    ◆ LookupConstraintOrNull()

    + +
    +
    + + + + + + + + +
    MPConstraint* operations_research::MPSolver::LookupConstraintOrNull (const std::string & constraint_name) const
    +
    + +

    Looks up a constraint by name, and returns nullptr if it does not exist.

    +

    The first call has a O(n) complexity, as the constraint name index is lazily created upon first use. Will crash if constraint names are not unique.

    + +
    +
    + +

    ◆ LookupVariableOrNull()

    + +
    +
    + + + + + + + + +
    MPVariable* operations_research::MPSolver::LookupVariableOrNull (const std::string & var_name) const
    +
    + +

    Looks up a variable by name, and returns nullptr if it does not exist.

    +

    The first call has a O(n) complexity, as the variable name index is lazily created upon first use. Will crash if variable names are not unique.

    + +
    +
    + +

    ◆ MakeBoolVar()

    + +
    +
    + + + + + + + + +
    MPVariable* operations_research::MPSolver::MakeBoolVar (const std::string & name)
    +
    + +

    Creates a boolean variable.

    + +
    +
    + +

    ◆ MakeBoolVarArray()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void operations_research::MPSolver::MakeBoolVarArray (int nb,
    const std::string & name,
    std::vector< MPVariable * > * vars 
    )
    +
    + +

    Creates an array of boolean variables.

    + +
    +
    + +

    ◆ MakeIntVar()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    MPVariable* operations_research::MPSolver::MakeIntVar (double lb,
    double ub,
    const std::string & name 
    )
    +
    + +

    Creates an integer variable.

    + +
    +
    + +

    ◆ MakeIntVarArray()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void operations_research::MPSolver::MakeIntVarArray (int nb,
    double lb,
    double ub,
    const std::string & name,
    std::vector< MPVariable * > * vars 
    )
    +
    + +

    Creates an array of integer variables.

    + +
    +
    + +

    ◆ MakeNumVar()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    MPVariable* operations_research::MPSolver::MakeNumVar (double lb,
    double ub,
    const std::string & name 
    )
    +
    + +

    Creates a continuous variable.

    + +
    +
    + +

    ◆ MakeNumVarArray()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void operations_research::MPSolver::MakeNumVarArray (int nb,
    double lb,
    double ub,
    const std::string & name,
    std::vector< MPVariable * > * vars 
    )
    +
    + +

    Creates an array of continuous variables.

    + +
    +
    + +

    ◆ MakeRowConstraint() [1/6]

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    MPConstraint* operations_research::MPSolver::MakeRowConstraint (double lb,
    double ub 
    )
    +
    + +

    Creates a linear constraint with given bounds.

    +

    Bounds can be finite or +/- MPSolver::infinity(). The MPSolver class assumes ownership of the constraint.

    +
    Returns
    a pointer to the newly created constraint.
    + +
    +
    + +

    ◆ MakeRowConstraint() [2/6]

    + +
    +
    + + + + + + + +
    MPConstraint* operations_research::MPSolver::MakeRowConstraint ()
    +
    + +

    Creates a constraint with -infinity and +infinity bounds.

    + +
    +
    + +

    ◆ MakeRowConstraint() [3/6]

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    MPConstraint* operations_research::MPSolver::MakeRowConstraint (double lb,
    double ub,
    const std::string & name 
    )
    +
    + +

    Creates a named constraint with given bounds.

    + +
    +
    + +

    ◆ MakeRowConstraint() [4/6]

    + +
    +
    + + + + + + + + +
    MPConstraint* operations_research::MPSolver::MakeRowConstraint (const std::string & name)
    +
    + +

    Creates a named constraint with -infinity and +infinity bounds.

    + +
    +
    + +

    ◆ MakeRowConstraint() [5/6]

    + +
    +
    + + + + + + + + +
    MPConstraint* operations_research::MPSolver::MakeRowConstraint (const LinearRange & range)
    +
    + +

    Creates a constraint owned by MPSolver enforcing: range.lower_bound() <= range.linear_expr() <= range.upper_bound()

    + +
    +
    + +

    ◆ MakeRowConstraint() [6/6]

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    MPConstraint* operations_research::MPSolver::MakeRowConstraint (const LinearRange & range,
    const std::string & name 
    )
    +
    + +

    As above, but also names the constraint.

    + +
    +
    + +

    ◆ MakeVar()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    MPVariable* operations_research::MPSolver::MakeVar (double lb,
    double ub,
    bool integer,
    const std::string & name 
    )
    +
    + +

    Creates a variable with the given bounds, integrality requirement and name.

    +

    Bounds can be finite or +/- MPSolver::infinity(). The MPSolver owns the variable (i.e. the returned pointer is borrowed). Variable names are optional. If you give an empty name, name() will auto-generate one for you upon request.

    + +
    +
    + +

    ◆ MakeVarArray()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void operations_research::MPSolver::MakeVarArray (int nb,
    double lb,
    double ub,
    bool integer,
    const std::string & name_prefix,
    std::vector< MPVariable * > * vars 
    )
    +
    + +

    Creates an array of variables.

    +

    All variables created have the same bounds and integrality requirement. If nb <= 0, no variables are created, the function crashes in non-opt mode.

    +
    Parameters
    + + + + + + + +
    nbthe number of variables to create.
    lbthe lower bound of created variables
    ubthe upper bound of created variables
    integercontrols whether the created variables are continuous or integral.
    name_prefixthe prefix of the variable names. Variables are named name_prefix0, name_prefix1, ...
    [out]varsthe vector of variables to fill with variables.
    +
    +
    + +
    +
    + +

    ◆ MutableObjective()

    + +
    +
    + + + + + +
    + + + + + + + +
    MPObjective* operations_research::MPSolver::MutableObjective ()
    +
    +inline
    +
    + +

    Returns the mutable objective object.

    + +

    Definition at line 423 of file linear_solver.h.

    + +
    +
    + +

    ◆ Name()

    + +
    +
    + + + + + +
    + + + + + + + +
    const std::string& operations_research::MPSolver::Name () const
    +
    +inline
    +
    + +

    Returns the name of the model set at construction.

    + +

    Definition at line 256 of file linear_solver.h.

    + +
    +
    + +

    ◆ NextSolution()

    + +
    +
    + + + + + + + +
    ABSL_MUST_USE_RESULT bool operations_research::MPSolver::NextSolution ()
    +
    + +

    Some solvers (MIP only, not LP) can produce multiple solutions to the problem.

    +

    Returns true when another solution is available, and updates the MPVariable* objects to make the new solution queryable. Call only after calling solve.

    +

    The optimality properties of the additional solutions found, and whether or not the solver computes them ahead of time or when NextSolution() is called is solver specific.

    +

    As of 2018-08-09, only Gurobi supports NextSolution(), see linear_solver_underlying_gurobi_test for an example of how to configure Gurobi for this purpose. The other solvers return false unconditionally.

    + +
    +
    + +

    ◆ nodes()

    + +
    +
    + + + + + + + +
    int64 operations_research::MPSolver::nodes () const
    +
    + +

    Returns the number of branch-and-bound nodes evaluated during the solve.

    +

    Only available for discrete problems.

    + +
    +
    + +

    ◆ NumConstraints()

    + +
    +
    + + + + + +
    + + + + + + + +
    int operations_research::MPSolver::NumConstraints () const
    +
    +inline
    +
    + +

    Returns the number of constraints.

    + +

    Definition at line 356 of file linear_solver.h.

    + +
    +
    + +

    ◆ NumVariables()

    + +
    +
    + + + + + +
    + + + + + + + +
    int operations_research::MPSolver::NumVariables () const
    +
    +inline
    +
    + +

    Returns the number of variables.

    + +

    Definition at line 277 of file linear_solver.h.

    + +
    +
    + +

    ◆ Objective()

    + +
    +
    + + + + + +
    + + + + + + + +
    const MPObjective& operations_research::MPSolver::Objective () const
    +
    +inline
    +
    + +

    Returns the objective object.

    +

    Note that the objective is owned by the solver, and is initialized to its default value (see the MPObjective class below) at construction.

    + +

    Definition at line 418 of file linear_solver.h.

    + +
    +
    + +

    ◆ OutputIsEnabled()

    + +
    +
    + + + + + + + +
    bool operations_research::MPSolver::OutputIsEnabled () const
    +
    + +

    Controls (or queries) the amount of output produced by the underlying solver.

    +

    The output can surface to LOGs, or to stdout or stderr, depending on the implementation. The amount of output will greatly vary with each implementation and each problem.

    +

    Output is suppressed by default.

    + +
    +
    + +

    ◆ OwnsVariable()

    + +
    +
    + + + + + + + + +
    bool operations_research::MPSolver::OwnsVariable (const MPVariablevar) const
    +
    + +
    +
    + +

    ◆ ParseSolverType()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static bool operations_research::MPSolver::ParseSolverType (absl::string_view solver,
    OptimizationProblemTypetype 
    )
    +
    +static
    +
    + +

    Parses the name of the solver.

    +

    Returns true if the solver type is successfully parsed as one of the OptimizationProblemType.

    + +
    +
    + +

    ◆ ProblemType()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual OptimizationProblemType operations_research::MPSolver::ProblemType () const
    +
    +inlinevirtual
    +
    + +

    Returns the optimization problem type set at construction.

    + +

    Definition at line 263 of file linear_solver.h.

    + +
    +
    + +

    ◆ Reset()

    + +
    +
    + + + + + + + +
    void operations_research::MPSolver::Reset ()
    +
    + +

    Advanced usage: resets extracted model to solve from scratch.

    +

    This won't reset the parameters that were set with SetSolverSpecificParametersAsString() or set_time_limit() or even clear the linear program. It will just make sure that next Solve() will be as if everything was reconstructed from scratch.

    + +
    +
    + +

    ◆ set_time_limit()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPSolver::set_time_limit (int64 time_limit_milliseconds)
    +
    +inline
    +
    + +

    Definition at line 789 of file linear_solver.h.

    + +
    +
    + +

    ◆ SetHint()

    + +
    +
    + + + + + + + + +
    void operations_research::MPSolver::SetHint (std::vector< std::pair< const MPVariable *, double > > hint)
    +
    + +

    Set a hint for solution.

    +

    If a feasible or almost-feasible solution to the problem is already known, it may be helpful to pass it to the solver so that it can be used. A solver that supports this feature will try to use this information to create its initial feasible solution.

    +

    Note: It may not always be faster to give a hint like this to the solver. There is also no guarantee that the solver will use this hint or try to return a solution "close" to this assignment in case of multiple optimal solutions.

    + +
    +
    + +

    ◆ SetNumThreads()

    + +
    +
    + + + + + + + + +
    util::Status operations_research::MPSolver::SetNumThreads (int num_threads)
    +
    + +

    Sets the number of threads to use by the underlying solver.

    +

    Returns OkStatus if the operation was successful. num_threads must be equal to or greater than 1. Note that the behaviour of this call depends on the underlying solver. E.g., it may set the exact number of threads or the max number of threads (check the solver's interface implementation for details). Also, some solvers may not (yet) support this function, but still enable multi-threading via SetSolverSpecificParametersAsString().

    + +
    +
    + +

    ◆ SetSolverSpecificParametersAsString()

    + +
    +
    + + + + + + + + +
    bool operations_research::MPSolver::SetSolverSpecificParametersAsString (const std::string & parameters)
    +
    + +

    Advanced usage: pass solver specific parameters in text format.

    +

    The format is solver-specific and is the same as the corresponding solver configuration file format. Returns true if the operation was successful.

    +

    TODO(user): Currently SCIP will always return true even if the format is wrong (you can check the log if you suspect an issue there). This seems to be a bug in SCIP though.

    + +
    +
    + +

    ◆ SetStartingLpBasis()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPSolver::SetStartingLpBasis (const std::vector< MPSolver::BasisStatus > & variable_statuses,
    const std::vector< MPSolver::BasisStatus > & constraint_statuses 
    )
    +
    + +

    Advanced usage: Incrementality.

    +

    This function takes a starting basis to be used in the next LP Solve() call. The statuses of a current solution can be retrieved via the basis_status() function of a MPVariable or a MPConstraint.

    +

    WARNING: With Glop, you should disable presolve when using this because this information will not be modified in sync with the presolve and will likely not mean much on the presolved problem.

    + +
    +
    + +

    ◆ SetTimeLimit()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPSolver::SetTimeLimit (absl::Duration time_limit)
    +
    +inline
    +
    + +

    Definition at line 699 of file linear_solver.h.

    + +
    +
    + +

    ◆ Solve() [1/2]

    + +
    +
    + + + + + + + +
    ResultStatus operations_research::MPSolver::Solve ()
    +
    + +

    Solves the problem using default parameter values.

    + +
    +
    + +

    ◆ Solve() [2/2]

    + +
    +
    + + + + + + + + +
    ResultStatus operations_research::MPSolver::Solve (const MPSolverParametersparam)
    +
    + +

    Solves the problem using the specified parameter values.

    + +
    +
    + +

    ◆ SolverVersion()

    + +
    +
    + + + + + + + +
    std::string operations_research::MPSolver::SolverVersion () const
    +
    + +

    Returns a std::string describing the underlying solver and its version.

    + +
    +
    + +

    ◆ SolveWithProto()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static void operations_research::MPSolver::SolveWithProto (const MPModelRequestmodel_request,
    MPSolutionResponseresponse 
    )
    +
    +static
    +
    + +

    Solves the model encoded by a MPModelRequest protocol buffer and fills the solution encoded as a MPSolutionResponse.

    +

    Note(user): This creates a temporary MPSolver and destroys it at the end. If you want to keep the MPSolver alive (for debugging, or for incremental solving), you should write another version of this function that creates the MPSolver object on the heap and returns it.

    + +
    +
    + +

    ◆ SupportsProblemType()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static bool operations_research::MPSolver::SupportsProblemType (OptimizationProblemType problem_type)
    +
    +static
    +
    + +

    Whether the given problem type is supported (this will depend on the targets that you linked).

    + +
    +
    + +

    ◆ SuppressOutput()

    + +
    +
    + + + + + + + +
    void operations_research::MPSolver::SuppressOutput ()
    +
    + +

    Suppress output.

    + +
    +
    + +

    ◆ time_limit()

    + +
    +
    + + + + + +
    + + + + + + + +
    int64 operations_research::MPSolver::time_limit () const
    +
    +inline
    +
    + +

    Definition at line 784 of file linear_solver.h.

    + +
    +
    + +

    ◆ time_limit_in_secs()

    + +
    +
    + + + + + +
    + + + + + + + +
    double operations_research::MPSolver::time_limit_in_secs () const
    +
    +inline
    +
    + +

    Definition at line 794 of file linear_solver.h.

    + +
    +
    + +

    ◆ TimeLimit()

    + +
    +
    + + + + + +
    + + + + + + + +
    absl::Duration operations_research::MPSolver::TimeLimit () const
    +
    +inline
    +
    + +

    Definition at line 698 of file linear_solver.h.

    + +
    +
    + +

    ◆ underlying_solver()

    + +
    +
    + + + + + + + +
    void* operations_research::MPSolver::underlying_solver ()
    +
    + +

    Advanced usage: returns the underlying solver.

    +

    Returns the underlying solver so that the user can use solver-specific features or features that are not exposed in the simple API of MPSolver. This method is for advanced users, use at your own risk! In particular, if you modify the model or the solution by accessing the underlying solver directly, then the underlying solver will be out of sync with the information kept in the wrapper (MPSolver, MPVariable, MPConstraint, MPObjective). You need to cast the void* returned back to its original type that depends on the interface (CBC: OsiClpSolverInterface*, CLP: ClpSimplex*, GLPK: glp_prob*, SCIP: SCIP*).

    + +
    +
    + +

    ◆ variables()

    + +
    +
    + + + + + +
    + + + + + + + +
    const std::vector<MPVariable*>& operations_research::MPSolver::variables () const
    +
    +inline
    +
    + +

    Returns the array of variables handled by the MPSolver.

    +

    (They are listed in the order in which they were created.)

    + +

    Definition at line 283 of file linear_solver.h.

    + +
    +
    + +

    ◆ VerifySolution()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool operations_research::MPSolver::VerifySolution (double tolerance,
    bool log_errors 
    ) const
    +
    + +

    Advanced usage: Verifies the correctness of the solution.

    +

    It verifies that all variables must be within their domains, all constraints must be satisfied, and the reported objective value must be accurate.

    +

    Usage:

      +
    • This can only be called after Solve() was called.
    • +
    • "tolerance" is interpreted as an absolute error threshold.
    • +
    • For the objective value only, if the absolute error is too large, the tolerance is interpreted as a relative error threshold instead.
    • +
    • If "log_errors" is true, every single violation will be logged.
    • +
    • If "tolerance" is negative, it will be set to infinity().
    • +
    +

    Most users should just set the –verify_solution flag and not bother using this method directly.

    + +
    +
    + +

    ◆ wall_time()

    + +
    +
    + + + + + +
    + + + + + + + +
    int64 operations_research::MPSolver::wall_time () const
    +
    +inline
    +
    + +

    Definition at line 799 of file linear_solver.h.

    + +
    +
    + +

    ◆ Write()

    + +
    +
    + + + + + + + + +
    void operations_research::MPSolver::Write (const std::string & file_name)
    +
    + +

    Writes the model using the solver internal write function.

    +

    Currently only available for Gurobi.

    + +
    +
    +

    Friends And Related Function Documentation

    + +

    ◆ BopInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class BopInterface
    +
    +friend
    +
    + +

    Definition at line 812 of file linear_solver.h.

    + +
    +
    + +

    ◆ CBCInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CBCInterface
    +
    +friend
    +
    + +

    Definition at line 805 of file linear_solver.h.

    + +
    +
    + +

    ◆ CLPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CLPInterface
    +
    +friend
    +
    + +

    Definition at line 804 of file linear_solver.h.

    + +
    +
    + +

    ◆ CplexInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CplexInterface
    +
    +friend
    +
    + +

    Definition at line 808 of file linear_solver.h.

    + +
    +
    + +

    ◆ GLOPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GLOPInterface
    +
    +friend
    +
    + +

    Definition at line 811 of file linear_solver.h.

    + +
    +
    + +

    ◆ GLPKInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GLPKInterface
    +
    +friend
    +
    + +

    Definition at line 803 of file linear_solver.h.

    + +
    +
    + +

    ◆ GurobiInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GurobiInterface
    +
    +friend
    +
    + +

    Definition at line 807 of file linear_solver.h.

    + +
    +
    + +

    ◆ KnapsackInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class KnapsackInterface
    +
    +friend
    +
    + +

    Definition at line 814 of file linear_solver.h.

    + +
    +
    + +

    ◆ MPSolverInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class MPSolverInterface
    +
    +friend
    +
    + +

    Definition at line 810 of file linear_solver.h.

    + +
    +
    + +

    ◆ SatInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SatInterface
    +
    +friend
    +
    + +

    Definition at line 813 of file linear_solver.h.

    + +
    +
    + +

    ◆ SCIPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SCIPInterface
    +
    +friend
    +
    + +

    Definition at line 806 of file linear_solver.h.

    + +
    +
    + +

    ◆ SLMInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SLMInterface
    +
    +friend
    +
    + +

    Definition at line 809 of file linear_solver.h.

    + +
    +
    +
    The documentation for this class was generated from the following file: +
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolver.js b/docs/cpp_linear/classoperations__research_1_1MPSolver.js new file mode 100644 index 0000000000..a8509bf362 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPSolver.js @@ -0,0 +1,108 @@ +var classoperations__research_1_1MPSolver = +[ + [ "BasisStatus", "classoperations__research_1_1MPSolver.html#a7e2a34816b22749e70e23d26f49cf743", [ + [ "FREE", "classoperations__research_1_1MPSolver.html#a7e2a34816b22749e70e23d26f49cf743a642d0b5abe3faed060b4ec237df381a0", null ], + [ "AT_LOWER_BOUND", "classoperations__research_1_1MPSolver.html#a7e2a34816b22749e70e23d26f49cf743a32b9b4f5f09a5dbdeed585318e8d97f2", null ], + [ "AT_UPPER_BOUND", "classoperations__research_1_1MPSolver.html#a7e2a34816b22749e70e23d26f49cf743a578f080f1d30ca7ce7ba6c5b050ddd56", null ], + [ "FIXED_VALUE", "classoperations__research_1_1MPSolver.html#a7e2a34816b22749e70e23d26f49cf743aeca9b511e54f58239988d6affd62afa8", null ], + [ "BASIC", "classoperations__research_1_1MPSolver.html#a7e2a34816b22749e70e23d26f49cf743a0185d5946c48b9852d8a02a7493f4dcf", null ] + ] ], + [ "OptimizationProblemType", "classoperations__research_1_1MPSolver.html#a42c406c7e6fba381aa2bb41aae4b44f2", [ + [ "CLP_LINEAR_PROGRAMMING", "classoperations__research_1_1MPSolver.html#a42c406c7e6fba381aa2bb41aae4b44f2a91bb43cabe6c49465bd7138189f3ea84", null ], + [ "GLOP_LINEAR_PROGRAMMING", "classoperations__research_1_1MPSolver.html#a42c406c7e6fba381aa2bb41aae4b44f2a32049e26d1ea6f68624fc478b88d98c9", null ], + [ "SCIP_MIXED_INTEGER_PROGRAMMING", "classoperations__research_1_1MPSolver.html#a42c406c7e6fba381aa2bb41aae4b44f2a357b78ac84d42c93f2be55c89ed685dc", null ], + [ "CBC_MIXED_INTEGER_PROGRAMMING", "classoperations__research_1_1MPSolver.html#a42c406c7e6fba381aa2bb41aae4b44f2a6f8b8f9d64ae299e8cfccf4917bf5282", null ], + [ "BOP_INTEGER_PROGRAMMING", "classoperations__research_1_1MPSolver.html#a42c406c7e6fba381aa2bb41aae4b44f2aaef5b33a2d88606a978524ebc7b1cb7b", null ] + ] ], + [ "ResultStatus", "classoperations__research_1_1MPSolver.html#a16bca30fdb1b048d987631b757c63192", [ + [ "OPTIMAL", "classoperations__research_1_1MPSolver.html#a16bca30fdb1b048d987631b757c63192a7a765c1340de9cc37e22c68a2da7d390", null ], + [ "FEASIBLE", "classoperations__research_1_1MPSolver.html#a16bca30fdb1b048d987631b757c63192a5930d45ccc1bc78ad06bcd15cbca6a29", null ], + [ "INFEASIBLE", "classoperations__research_1_1MPSolver.html#a16bca30fdb1b048d987631b757c63192a84e96d7264feeb2b6577400bc379d9db", null ], + [ "UNBOUNDED", "classoperations__research_1_1MPSolver.html#a16bca30fdb1b048d987631b757c63192a88c7283cc752b51ed05c21c73f8fe100", null ], + [ "ABNORMAL", "classoperations__research_1_1MPSolver.html#a16bca30fdb1b048d987631b757c63192ae7c84444803ea46da465b68fb6e974fa", null ], + [ "MODEL_INVALID", "classoperations__research_1_1MPSolver.html#a16bca30fdb1b048d987631b757c63192a0ce4e033c6bca973cb026780cdb7daa2", null ], + [ "NOT_SOLVED", "classoperations__research_1_1MPSolver.html#a16bca30fdb1b048d987631b757c63192a5c14184aabfffdb489347ab0486c8492", null ] + ] ], + [ "MPSolver", "classoperations__research_1_1MPSolver.html#ab6a8a6c57eefce8c07c8a52e053b035b", null ], + [ "~MPSolver", "classoperations__research_1_1MPSolver.html#aee7aedeeff79cd0645a5c7e8c0200834", null ], + [ "ClampSolutionWithinBounds", "classoperations__research_1_1MPSolver.html#a27312cbf1394d779305d016e2ea2753e", null ], + [ "Clear", "classoperations__research_1_1MPSolver.html#a4fb5381d2f4a764660365168622e4955", null ], + [ "ComputeConstraintActivities", "classoperations__research_1_1MPSolver.html#ad07e28e347a4b2d94d53ca96ae201d70", null ], + [ "ComputeExactConditionNumber", "classoperations__research_1_1MPSolver.html#a6390f93d9c4e88775d98ec8353ef0979", null ], + [ "constraints", "classoperations__research_1_1MPSolver.html#aebc45909b1f377ab86295578ec417a17", null ], + [ "DurationSinceConstruction", "classoperations__research_1_1MPSolver.html#a6a68e7fab8751978c9faa30867f91241", null ], + [ "EnableOutput", "classoperations__research_1_1MPSolver.html#abc2c48c807107ccfdfa8c1b50ae16c41", null ], + [ "ExportModelAsLpFormat", "classoperations__research_1_1MPSolver.html#a393a84863fe633baa3c7af4e71c8b147", null ], + [ "ExportModelAsMpsFormat", "classoperations__research_1_1MPSolver.html#ae06ddd4e79e6a985b2644eff14747484", null ], + [ "ExportModelToProto", "classoperations__research_1_1MPSolver.html#a9c8cc8b3c36fe9c08d8e0eefbc98b774", null ], + [ "FillSolutionResponseProto", "classoperations__research_1_1MPSolver.html#a91c69a1b2e9098f3835b9fe1c4fead59", null ], + [ "GetNumThreads", "classoperations__research_1_1MPSolver.html#a88ddf26ba2c9524de319f6f307cfde60", null ], + [ "GetSolverSpecificParametersAsString", "classoperations__research_1_1MPSolver.html#a64bc5e50054e619d3399956df3ed110f", null ], + [ "infinity", "classoperations__research_1_1MPSolver.html#a5b15f7248e2b72d474bae0444a613033", null ], + [ "InterruptSolve", "classoperations__research_1_1MPSolver.html#a4413905b5839d17823e756cff10d0ffe", null ], + [ "IsMIP", "classoperations__research_1_1MPSolver.html#a24caaef373d3715d5bce9fb0da2c203d", null ], + [ "iterations", "classoperations__research_1_1MPSolver.html#a15001c5a8f5c0086dddcc4626a5a5ad7", null ], + [ "LoadModelFromProto", "classoperations__research_1_1MPSolver.html#af9eb46d78f04fa12da7ac27c14becb7d", null ], + [ "LoadModelFromProtoWithUniqueNamesOrDie", "classoperations__research_1_1MPSolver.html#a51b5d57f310db13d800e4440ca3c0d0b", null ], + [ "LoadSolutionFromProto", "classoperations__research_1_1MPSolver.html#aa20b60665bd7e137dac446b2b1400838", null ], + [ "LookupConstraintOrNull", "classoperations__research_1_1MPSolver.html#a299502e4b0e4e6608330fdbe4fb86c94", null ], + [ "LookupVariableOrNull", "classoperations__research_1_1MPSolver.html#ae384aa3d9095f883a93f5e2e830e0077", null ], + [ "MakeBoolVar", "classoperations__research_1_1MPSolver.html#a7176be8ce0481d880a8d30a2d7a1c09e", null ], + [ "MakeBoolVarArray", "classoperations__research_1_1MPSolver.html#af5c55776ce47479f8904480cd815a6d5", null ], + [ "MakeIntVar", "classoperations__research_1_1MPSolver.html#acf84ccc5151ce164a571d2f31f30960c", null ], + [ "MakeIntVarArray", "classoperations__research_1_1MPSolver.html#a5eefc88942fd284ff2962564224d5f8e", null ], + [ "MakeNumVar", "classoperations__research_1_1MPSolver.html#a54d66e99fdc2424e812d910e7c2f225a", null ], + [ "MakeNumVarArray", "classoperations__research_1_1MPSolver.html#a7aebea4f022e7a685322e7db70b76e5e", null ], + [ "MakeRowConstraint", "classoperations__research_1_1MPSolver.html#a9afcc9a30bf7c360066d7936c121acd0", null ], + [ "MakeRowConstraint", "classoperations__research_1_1MPSolver.html#a9ef93893d198901ce104d74794dde123", null ], + [ "MakeRowConstraint", "classoperations__research_1_1MPSolver.html#ac7dc5e8edf7f3a96c2faadc738d52c41", null ], + [ "MakeRowConstraint", "classoperations__research_1_1MPSolver.html#abad1058684a6996ba3035c0011b4cc41", null ], + [ "MakeRowConstraint", "classoperations__research_1_1MPSolver.html#ae31ac8b47142ee8685a39a608a9190d1", null ], + [ "MakeRowConstraint", "classoperations__research_1_1MPSolver.html#a4c54bb9041abac99c35b92dc5386b7a7", null ], + [ "MakeVar", "classoperations__research_1_1MPSolver.html#ad6bb7605c749ba485b040b02a37f6728", null ], + [ "MakeVarArray", "classoperations__research_1_1MPSolver.html#a2c58f52acd6216131582c60aae3625ee", null ], + [ "MutableObjective", "classoperations__research_1_1MPSolver.html#a467f89af3bae743dc9d628ee4e74f0c9", null ], + [ "Name", "classoperations__research_1_1MPSolver.html#a1d6101b365c33fb1f73a4c953abeb0ed", null ], + [ "NextSolution", "classoperations__research_1_1MPSolver.html#a4b11747bf657bf074d1e710121810d13", null ], + [ "nodes", "classoperations__research_1_1MPSolver.html#a6837e7545ac2c5cfe95ca9a1c0f013e3", null ], + [ "NumConstraints", "classoperations__research_1_1MPSolver.html#a16a3cee848c033e365ebb1cf50bb97cd", null ], + [ "NumVariables", "classoperations__research_1_1MPSolver.html#a0ba0685c817d5c5910c80492dd1a7050", null ], + [ "Objective", "classoperations__research_1_1MPSolver.html#a4834a6747544a7053110a0b20d79dac2", null ], + [ "OutputIsEnabled", "classoperations__research_1_1MPSolver.html#aa90a00b370b9abc4a43bfefd7f6a895b", null ], + [ "OwnsVariable", "classoperations__research_1_1MPSolver.html#a78606aaae8d97a0def488e696fdb2d2b", null ], + [ "ParseSolverType", "classoperations__research_1_1MPSolver.html#a650dd472cb06be9f9abcf5bc0833437d", null ], + [ "ProblemType", "classoperations__research_1_1MPSolver.html#a54e8b352edd37540f788c3fc473fa875", null ], + [ "Reset", "classoperations__research_1_1MPSolver.html#a0bade4bbf46f4e35513650d38a0a3208", null ], + [ "set_time_limit", "classoperations__research_1_1MPSolver.html#ae99e29fcc045ab27c8fecbdc422e6133", null ], + [ "SetHint", "classoperations__research_1_1MPSolver.html#abf4255929ea45766c51cf6138758b277", null ], + [ "SetNumThreads", "classoperations__research_1_1MPSolver.html#a6394f5b0c08af038bfd9610d2bc4be90", null ], + [ "SetSolverSpecificParametersAsString", "classoperations__research_1_1MPSolver.html#a532d2fb86e5cdc4710e1a168acbbe7f6", null ], + [ "SetStartingLpBasis", "classoperations__research_1_1MPSolver.html#a11a76240b36c39f04ff64104c482990f", null ], + [ "SetTimeLimit", "classoperations__research_1_1MPSolver.html#a47a5516ca826adbc25bd5bf1d7935fd1", null ], + [ "Solve", "classoperations__research_1_1MPSolver.html#a1535b2a46d5cff6f9727c08085cfbb1f", null ], + [ "Solve", "classoperations__research_1_1MPSolver.html#acfe9e4c330b12131b53d72f41506ddaf", null ], + [ "SolverVersion", "classoperations__research_1_1MPSolver.html#aee22680c23e591329e9ac50ff78f572d", null ], + [ "SolveWithProto", "classoperations__research_1_1MPSolver.html#a3aaa8bdb57173a9d933ed5f62bb60f42", null ], + [ "SupportsProblemType", "classoperations__research_1_1MPSolver.html#ae96df0f02a46493eba93d2e70709911a", null ], + [ "SuppressOutput", "classoperations__research_1_1MPSolver.html#abfaa014d3c3ca883e3c8a17110372801", null ], + [ "time_limit", "classoperations__research_1_1MPSolver.html#a258c821fae2869693b58440145125aba", null ], + [ "time_limit_in_secs", "classoperations__research_1_1MPSolver.html#a0177cee53f52d09df990920d532b0772", null ], + [ "TimeLimit", "classoperations__research_1_1MPSolver.html#aae2fbd44c86451dadfc256f000772394", null ], + [ "underlying_solver", "classoperations__research_1_1MPSolver.html#a3d3bc5e39b383336fb3ca88b1a0c6cc5", null ], + [ "variables", "classoperations__research_1_1MPSolver.html#a1593ede4c9cd1da430f606127dc9a642", null ], + [ "VerifySolution", "classoperations__research_1_1MPSolver.html#a2a4a0234b5830d4ea82d549b3b6b5baf", null ], + [ "wall_time", "classoperations__research_1_1MPSolver.html#a1ce69ce989942416f35a7d3577b5edd8", null ], + [ "Write", "classoperations__research_1_1MPSolver.html#ad40ba327269cfff827f23ac4d94414d9", null ], + [ "BopInterface", "classoperations__research_1_1MPSolver.html#a7383308e6b9b63b18196798db342ce8a", null ], + [ "CBCInterface", "classoperations__research_1_1MPSolver.html#af5a7cf0c655f37c0b388a2ddcf32ac3e", null ], + [ "CLPInterface", "classoperations__research_1_1MPSolver.html#a60944ecdcad88cfb4d4d32feea70c9b5", null ], + [ "CplexInterface", "classoperations__research_1_1MPSolver.html#ae7cbd08108e1636184f28c1a71c42393", null ], + [ "GLOPInterface", "classoperations__research_1_1MPSolver.html#a6c754b527a347994b06eeb49a09ac222", null ], + [ "GLPKInterface", "classoperations__research_1_1MPSolver.html#ae1a3e0a695903c8e6effd524a7f92784", null ], + [ "GurobiInterface", "classoperations__research_1_1MPSolver.html#ac28a56eeedb62d070578a9231f1875ea", null ], + [ "KnapsackInterface", "classoperations__research_1_1MPSolver.html#aee1ddf25e86286c16face31551751bda", null ], + [ "MPSolverInterface", "classoperations__research_1_1MPSolver.html#ac0aea0786e75adbb2d24c41c15e7456c", null ], + [ "SatInterface", "classoperations__research_1_1MPSolver.html#acbd4413b1370baca9c45aecb0cb8ebd2", null ], + [ "SCIPInterface", "classoperations__research_1_1MPSolver.html#a236f9752f4df4c5134617330a040ec8a", null ], + [ "SLMInterface", "classoperations__research_1_1MPSolver.html#a5c083b37243075a00bf909840dc7c933", null ] +]; \ No newline at end of file diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolverCommonParameters.html b/docs/cpp_linear/classoperations__research_1_1MPSolverCommonParameters.html index 449aad9c61..097cf8d871 100644 --- a/docs/cpp_linear/classoperations__research_1_1MPSolverCommonParameters.html +++ b/docs/cpp_linear/classoperations__research_1_1MPSolverCommonParameters.html @@ -56,12 +56,11 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1MPSolverC

    Detailed Description

    -

    Definition at line 1628 of file linear_solver.pb.h.

    +

    Definition at line 1619 of file linear_solver.pb.h.

    -

    Public Types

    typedef MPSolverCommonParameters_LPAlgorithmValues LPAlgorithmValues
     nested types -------------------------------------------------— More...
     
    - @@ -114,7 +112,6 @@ Public Member Functions - @@ -127,7 +124,6 @@ Public Member Functions - @@ -140,7 +136,6 @@ Public Member Functions - @@ -153,7 +148,6 @@ Public Member Functions - @@ -162,7 +156,6 @@ Public Member Functions - @@ -171,7 +164,6 @@ Public Member Functions - @@ -257,9 +249,7 @@ Friends

    @@ -85,7 +84,6 @@ Public Member Functions

    void Swap (MPSolverCommonParameters *other)
     
    MPSolverCommonParametersNew () const final
     implements Message -------------------------------------------— More...
     
    MPSolverCommonParametersNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    bool has_relative_mip_gap () const
     accessors ----------------------------------------------------— More...
     
    void clear_relative_mip_gap ()
     
    void set_allocated_relative_mip_gap (::operations_research::OptionalDouble *relative_mip_gap)
     
    bool has_primal_tolerance () const
     optional .operations_research.OptionalDouble primal_tolerance = 2; More...
     
    void clear_primal_tolerance ()
     
    void set_allocated_primal_tolerance (::operations_research::OptionalDouble *primal_tolerance)
     
    bool has_dual_tolerance () const
     optional .operations_research.OptionalDouble dual_tolerance = 3; More...
     
    void clear_dual_tolerance ()
     
    void set_allocated_dual_tolerance (::operations_research::OptionalDouble *dual_tolerance)
     
    bool has_lp_algorithm () const
     optional .operations_research.MPSolverCommonParameters.LPAlgorithmValues lp_algorithm = 4 [default = LP_ALGO_UNSPECIFIED]; More...
     
    void clear_lp_algorithm ()
     
    void set_lp_algorithm (::operations_research::MPSolverCommonParameters_LPAlgorithmValues value)
     
    bool has_presolve () const
     optional .operations_research.OptionalBoolean presolve = 5 [default = BOOL_UNSPECIFIED]; More...
     
    void clear_presolve ()
     
    void set_presolve (::operations_research::OptionalBoolean value)
     
    bool has_scaling () const
     optional .operations_research.OptionalBoolean scaling = 7 [default = BOOL_UNSPECIFIED]; More...
     
    void clear_scaling ()
     
    -

    nested types -------------------------------------------------—

    - -

    Definition at line 1742 of file linear_solver.pb.h.

    +

    Definition at line 1733 of file linear_solver.pb.h.

    @@ -348,7 +338,7 @@ Friends
    -

    Definition at line 1635 of file linear_solver.pb.h.

    +

    Definition at line 1626 of file linear_solver.pb.h.

    @@ -426,7 +416,7 @@ Friends
    -

    Definition at line 3362 of file linear_solver.pb.h.

    +

    Definition at line 3341 of file linear_solver.pb.h.

    @@ -453,7 +443,7 @@ Friends
    -

    Definition at line 3411 of file linear_solver.pb.h.

    +

    Definition at line 3390 of file linear_solver.pb.h.

    @@ -480,7 +470,7 @@ Friends
    -

    Definition at line 3430 of file linear_solver.pb.h.

    +

    Definition at line 3409 of file linear_solver.pb.h.

    @@ -507,7 +497,7 @@ Friends
    -

    Definition at line 3313 of file linear_solver.pb.h.

    +

    Definition at line 3292 of file linear_solver.pb.h.

    @@ -534,7 +524,7 @@ Friends
    -

    Definition at line 3264 of file linear_solver.pb.h.

    +

    Definition at line 3243 of file linear_solver.pb.h.

    @@ -561,7 +551,7 @@ Friends
    -

    Definition at line 3449 of file linear_solver.pb.h.

    +

    Definition at line 3428 of file linear_solver.pb.h.

    @@ -657,7 +647,7 @@ Friends
    -

    Definition at line 1660 of file linear_solver.pb.h.

    +

    Definition at line 1651 of file linear_solver.pb.h.

    @@ -683,9 +673,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPSolverCommonParameters.dual_tolerance)

    -

    Definition at line 3366 of file linear_solver.pb.h.

    +

    Definition at line 3345 of file linear_solver.pb.h.

    @@ -712,7 +701,7 @@ Friends
    -

    Definition at line 1711 of file linear_solver.pb.h.

    +

    Definition at line 1702 of file linear_solver.pb.h.

    @@ -739,7 +728,7 @@ Friends
    -

    Definition at line 1663 of file linear_solver.pb.h.

    +

    Definition at line 1654 of file linear_solver.pb.h.

    @@ -791,7 +780,7 @@ Friends
    -

    Definition at line 1666 of file linear_solver.pb.h.

    +

    Definition at line 1657 of file linear_solver.pb.h.

    @@ -818,9 +807,7 @@ Friends
    -

    optional .operations_research.OptionalDouble dual_tolerance = 3;

    - -

    Definition at line 3359 of file linear_solver.pb.h.

    +

    Definition at line 3338 of file linear_solver.pb.h.

    @@ -847,9 +834,7 @@ Friends
    -

    optional .operations_research.MPSolverCommonParameters.LPAlgorithmValues lp_algorithm = 4 [default = LP_ALGO_UNSPECIFIED];

    - -

    Definition at line 3408 of file linear_solver.pb.h.

    +

    Definition at line 3387 of file linear_solver.pb.h.

    @@ -876,9 +861,7 @@ Friends
    -

    optional .operations_research.OptionalBoolean presolve = 5 [default = BOOL_UNSPECIFIED];

    - -

    Definition at line 3427 of file linear_solver.pb.h.

    +

    Definition at line 3406 of file linear_solver.pb.h.

    @@ -905,9 +888,7 @@ Friends
    -

    optional .operations_research.OptionalDouble primal_tolerance = 2;

    - -

    Definition at line 3310 of file linear_solver.pb.h.

    +

    Definition at line 3289 of file linear_solver.pb.h.

    @@ -934,11 +915,7 @@ Friends
    -

    accessors ----------------------------------------------------—

    -

    MPSolverCommonParameters.

    -

    optional .operations_research.OptionalDouble relative_mip_gap = 1;

    - -

    Definition at line 3261 of file linear_solver.pb.h.

    +

    Definition at line 3240 of file linear_solver.pb.h.

    @@ -965,9 +942,7 @@ Friends
    -

    optional .operations_research.OptionalBoolean scaling = 7 [default = BOOL_UNSPECIFIED];

    - -

    Definition at line 3446 of file linear_solver.pb.h.

    +

    Definition at line 3425 of file linear_solver.pb.h.

    @@ -1019,7 +994,7 @@ Friends
    -

    Definition at line 1672 of file linear_solver.pb.h.

    +

    Definition at line 1663 of file linear_solver.pb.h.

    @@ -1096,9 +1071,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPSolverCommonParameters.lp_algorithm)

    -

    Definition at line 3415 of file linear_solver.pb.h.

    +

    Definition at line 3394 of file linear_solver.pb.h.

    @@ -1125,7 +1099,7 @@ Friends
    -

    Definition at line 1761 of file linear_solver.pb.h.

    +

    Definition at line 1752 of file linear_solver.pb.h.

    @@ -1153,7 +1127,7 @@ Friends
    -

    Definition at line 1751 of file linear_solver.pb.h.

    +

    Definition at line 1742 of file linear_solver.pb.h.

    @@ -1183,7 +1157,7 @@ template<typename T >
    -

    Definition at line 1765 of file linear_solver.pb.h.

    +

    Definition at line 1756 of file linear_solver.pb.h.

    @@ -1221,7 +1195,7 @@ template<typename T >
    -

    Definition at line 1771 of file linear_solver.pb.h.

    +

    Definition at line 1762 of file linear_solver.pb.h.

    @@ -1317,9 +1291,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_mutable:operations_research.MPSolverCommonParameters.dual_tolerance)

    -

    Definition at line 3379 of file linear_solver.pb.h.

    +

    Definition at line 3358 of file linear_solver.pb.h.

    @@ -1345,9 +1318,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_mutable:operations_research.MPSolverCommonParameters.primal_tolerance)

    -

    Definition at line 3330 of file linear_solver.pb.h.

    +

    Definition at line 3309 of file linear_solver.pb.h.

    @@ -1373,9 +1345,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_mutable:operations_research.MPSolverCommonParameters.relative_mip_gap)

    -

    Definition at line 3281 of file linear_solver.pb.h.

    +

    Definition at line 3260 of file linear_solver.pb.h.

    @@ -1402,7 +1373,7 @@ template<typename T >
    -

    Definition at line 1656 of file linear_solver.pb.h.

    +

    Definition at line 1647 of file linear_solver.pb.h.

    @@ -1429,9 +1400,7 @@ template<typename T >
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 1686 of file linear_solver.pb.h.

    +

    Definition at line 1677 of file linear_solver.pb.h.

    @@ -1459,7 +1428,7 @@ template<typename T >
    -

    Definition at line 1690 of file linear_solver.pb.h.

    +

    Definition at line 1681 of file linear_solver.pb.h.

    @@ -1487,7 +1456,7 @@ template<typename T >
    -

    Definition at line 1640 of file linear_solver.pb.h.

    +

    Definition at line 1631 of file linear_solver.pb.h.

    @@ -1515,7 +1484,7 @@ template<typename T >
    -

    Definition at line 1644 of file linear_solver.pb.h.

    +

    Definition at line 1635 of file linear_solver.pb.h.

    @@ -1541,9 +1510,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_get:operations_research.MPSolverCommonParameters.presolve)

    -

    Definition at line 3434 of file linear_solver.pb.h.

    +

    Definition at line 3413 of file linear_solver.pb.h.

    @@ -1569,9 +1537,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_get:operations_research.MPSolverCommonParameters.primal_tolerance)

    -

    Definition at line 3317 of file linear_solver.pb.h.

    +

    Definition at line 3296 of file linear_solver.pb.h.

    @@ -1597,9 +1564,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_get:operations_research.MPSolverCommonParameters.relative_mip_gap)

    -

    Definition at line 3268 of file linear_solver.pb.h.

    +

    Definition at line 3247 of file linear_solver.pb.h.

    @@ -1625,9 +1591,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_release:operations_research.MPSolverCommonParameters.dual_tolerance)

    -

    Definition at line 3372 of file linear_solver.pb.h.

    +

    Definition at line 3351 of file linear_solver.pb.h.

    @@ -1653,9 +1618,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_release:operations_research.MPSolverCommonParameters.primal_tolerance)

    -

    Definition at line 3323 of file linear_solver.pb.h.

    +

    Definition at line 3302 of file linear_solver.pb.h.

    @@ -1681,9 +1645,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_release:operations_research.MPSolverCommonParameters.relative_mip_gap)

    -

    Definition at line 3274 of file linear_solver.pb.h.

    +

    Definition at line 3253 of file linear_solver.pb.h.

    @@ -1709,9 +1672,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_get:operations_research.MPSolverCommonParameters.scaling)

    -

    Definition at line 3453 of file linear_solver.pb.h.

    +

    Definition at line 3432 of file linear_solver.pb.h.

    @@ -1764,9 +1726,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPSolverCommonParameters.dual_tolerance)

    -

    Definition at line 3388 of file linear_solver.pb.h.

    +

    Definition at line 3367 of file linear_solver.pb.h.

    @@ -1793,9 +1754,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPSolverCommonParameters.primal_tolerance)

    -

    Definition at line 3339 of file linear_solver.pb.h.

    +

    Definition at line 3318 of file linear_solver.pb.h.

    @@ -1822,9 +1782,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPSolverCommonParameters.relative_mip_gap)

    -

    Definition at line 3290 of file linear_solver.pb.h.

    +

    Definition at line 3269 of file linear_solver.pb.h.

    @@ -1851,9 +1810,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_set:operations_research.MPSolverCommonParameters.lp_algorithm)

    -

    Definition at line 3419 of file linear_solver.pb.h.

    +

    Definition at line 3398 of file linear_solver.pb.h.

    @@ -1880,9 +1838,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_set:operations_research.MPSolverCommonParameters.presolve)

    -

    Definition at line 3438 of file linear_solver.pb.h.

    +

    Definition at line 3417 of file linear_solver.pb.h.

    @@ -1909,9 +1866,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_set:operations_research.MPSolverCommonParameters.scaling)

    -

    Definition at line 3457 of file linear_solver.pb.h.

    +

    Definition at line 3436 of file linear_solver.pb.h.

    @@ -1956,7 +1912,7 @@ template<typename T >
    -

    Definition at line 1653 of file linear_solver.pb.h.

    +

    Definition at line 1644 of file linear_solver.pb.h.

    @@ -1981,7 +1937,7 @@ template<typename T >
    -

    Definition at line 1718 of file linear_solver.pb.h.

    +

    Definition at line 1709 of file linear_solver.pb.h.

    @@ -2005,7 +1961,7 @@ template<typename T >
    -

    Definition at line 1839 of file linear_solver.pb.h.

    +

    Definition at line 1830 of file linear_solver.pb.h.

    @@ -2043,7 +1999,7 @@ template<typename T >
    -

    Definition at line 1680 of file linear_solver.pb.h.

    +

    Definition at line 1671 of file linear_solver.pb.h.

    @@ -2068,7 +2024,7 @@ template<typename T >
    -

    Definition at line 1799 of file linear_solver.pb.h.

    +

    Definition at line 1790 of file linear_solver.pb.h.

    @@ -2092,7 +2048,7 @@ template<typename T >
    Initial value:
    =
    8
    -

    Definition at line 1676 of file linear_solver.pb.h.

    +

    Definition at line 1667 of file linear_solver.pb.h.

    @@ -2116,7 +2072,7 @@ template<typename T >
    -

    Definition at line 1808 of file linear_solver.pb.h.

    +

    Definition at line 1799 of file linear_solver.pb.h.

    @@ -2140,7 +2096,7 @@ template<typename T >
    -

    Definition at line 1815 of file linear_solver.pb.h.

    +

    Definition at line 1806 of file linear_solver.pb.h.

    @@ -2164,7 +2120,7 @@ template<typename T >
    -

    Definition at line 1790 of file linear_solver.pb.h.

    +

    Definition at line 1781 of file linear_solver.pb.h.

    @@ -2188,7 +2144,7 @@ template<typename T >
    -

    Definition at line 1781 of file linear_solver.pb.h.

    +

    Definition at line 1772 of file linear_solver.pb.h.

    @@ -2212,7 +2168,7 @@ template<typename T >
    -

    Definition at line 1822 of file linear_solver.pb.h.

    +

    Definition at line 1813 of file linear_solver.pb.h.

    @@ -2236,7 +2192,7 @@ template<typename T >
    Initial value: -

    Definition at line 1749 of file linear_solver.pb.h.

    +

    Definition at line 1740 of file linear_solver.pb.h.

    @@ -2260,7 +2216,7 @@ template<typename T >
    Initial value: -

    Definition at line 1745 of file linear_solver.pb.h.

    +

    Definition at line 1736 of file linear_solver.pb.h.

    @@ -2284,7 +2240,7 @@ template<typename T >
    Initial value: -

    Definition at line 1747 of file linear_solver.pb.h.

    +

    Definition at line 1738 of file linear_solver.pb.h.

    @@ -2308,7 +2264,7 @@ template<typename T >
    Initial value: -

    Definition at line 1743 of file linear_solver.pb.h.

    +

    Definition at line 1734 of file linear_solver.pb.h.

    @@ -2332,7 +2288,7 @@ template<typename T >
    Initial value: -

    Definition at line 1758 of file linear_solver.pb.h.

    +

    Definition at line 1749 of file linear_solver.pb.h.

    @@ -2356,7 +2312,7 @@ template<typename T >
    Initial value: -

    Definition at line 1756 of file linear_solver.pb.h.

    +

    Definition at line 1747 of file linear_solver.pb.h.

    @@ -2380,7 +2336,7 @@ template<typename T >
    Initial value: -

    Definition at line 1754 of file linear_solver.pb.h.

    +

    Definition at line 1745 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolverInterface-members.html b/docs/cpp_linear/classoperations__research_1_1MPSolverInterface-members.html new file mode 100644 index 0000000000..6ec52d5519 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPSolverInterface-members.html @@ -0,0 +1,148 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    +
    +
    operations_research::MPSolverInterface Member List
    +
    +
    + +

    This is the complete list of members for operations_research::MPSolverInterface, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AddIndicatorConstraint(MPConstraint *const ct)operations_research::MPSolverInterfaceinlinevirtual
    AddRowConstraint(MPConstraint *const ct)=0operations_research::MPSolverInterfacepure virtual
    AddVariable(MPVariable *const var)=0operations_research::MPSolverInterfacepure virtual
    best_objective_bound() const =0operations_research::MPSolverInterfacepure virtual
    BranchingPriorityChangedForVariable(int var_index)operations_research::MPSolverInterfaceinlinevirtual
    CheckBestObjectiveBoundExists() constoperations_research::MPSolverInterfacevirtual
    CheckSolutionExists() constoperations_research::MPSolverInterfacevirtual
    CheckSolutionIsSynchronized() constoperations_research::MPSolverInterface
    CheckSolutionIsSynchronizedAndExists() constoperations_research::MPSolverInterfaceinline
    ClearConstraint(MPConstraint *const constraint)=0operations_research::MPSolverInterfacepure virtual
    ClearObjective()=0operations_research::MPSolverInterfacepure virtual
    column_status(int variable_index) const =0operations_research::MPSolverInterfacepure virtual
    ComputeExactConditionNumber() constoperations_research::MPSolverInterfacevirtual
    constraint_is_extracted(int ct_index) constoperations_research::MPSolverInterfaceinline
    ExtractModel()operations_research::MPSolverInterfaceprotected
    ExtractNewConstraints()=0operations_research::MPSolverInterfaceprotectedpure virtual
    ExtractNewVariables()=0operations_research::MPSolverInterfaceprotectedpure virtual
    ExtractObjective()=0operations_research::MPSolverInterfaceprotectedpure virtual
    InterruptSolve()operations_research::MPSolverInterfaceinlinevirtual
    InvalidateSolutionSynchronization()operations_research::MPSolverInterfaceprotected
    IsContinuous() const =0operations_research::MPSolverInterfacepure virtual
    IsLP() const =0operations_research::MPSolverInterfacepure virtual
    IsMIP() const =0operations_research::MPSolverInterfacepure virtual
    iterations() const =0operations_research::MPSolverInterfacepure virtual
    kDummyVariableIndexoperations_research::MPSolverInterfaceprotectedstatic
    kUnknownNumberOfIterationsoperations_research::MPSolverInterfacestatic
    kUnknownNumberOfNodesoperations_research::MPSolverInterfacestatic
    last_constraint_index_operations_research::MPSolverInterfaceprotected
    last_variable_index() constoperations_research::MPSolverInterfaceinline
    last_variable_index_operations_research::MPSolverInterfaceprotected
    maximize_operations_research::MPSolverInterfaceprotected
    MODEL_SYNCHRONIZED enum valueoperations_research::MPSolverInterface
    MPConstraint classoperations_research::MPSolverInterfacefriend
    MPObjective classoperations_research::MPSolverInterfacefriend
    MPSolver classoperations_research::MPSolverInterfacefriend
    MPSolverInterface(MPSolver *const solver)operations_research::MPSolverInterfaceexplicit
    MUST_RELOAD enum valueoperations_research::MPSolverInterface
    NextSolution()operations_research::MPSolverInterfaceinlinevirtual
    nodes() const =0operations_research::MPSolverInterfacepure virtual
    objective_value() constoperations_research::MPSolverInterface
    objective_value_operations_research::MPSolverInterfaceprotected
    quiet() constoperations_research::MPSolverInterfaceinline
    quiet_operations_research::MPSolverInterfaceprotected
    ReadParameterFile(const std::string &filename)operations_research::MPSolverInterfaceprotectedvirtual
    Reset()=0operations_research::MPSolverInterfacepure virtual
    ResetExtractionInformation()operations_research::MPSolverInterfaceprotected
    result_status() constoperations_research::MPSolverInterfaceinline
    result_status_operations_research::MPSolverInterfaceprotected
    row_status(int constraint_index) const =0operations_research::MPSolverInterfacepure virtual
    set_constraint_as_extracted(int ct_index, bool extracted)operations_research::MPSolverInterfaceinline
    set_quiet(bool quiet_value)operations_research::MPSolverInterfaceinline
    set_variable_as_extracted(int var_index, bool extracted)operations_research::MPSolverInterfaceinline
    SetCoefficient(MPConstraint *const constraint, const MPVariable *const variable, double new_value, double old_value)=0operations_research::MPSolverInterfacepure virtual
    SetCommonParameters(const MPSolverParameters &param)operations_research::MPSolverInterfaceprotected
    SetConstraintBounds(int index, double lb, double ub)=0operations_research::MPSolverInterfacepure virtual
    SetDoubleParamToUnsupportedValue(MPSolverParameters::DoubleParam param, double value)operations_research::MPSolverInterfaceprotected
    SetDualTolerance(double value)=0operations_research::MPSolverInterfaceprotectedpure virtual
    SetIntegerParamToUnsupportedValue(MPSolverParameters::IntegerParam param, int value)operations_research::MPSolverInterfaceprotectedvirtual
    SetLpAlgorithm(int value)=0operations_research::MPSolverInterfaceprotectedpure virtual
    SetMIPParameters(const MPSolverParameters &param)operations_research::MPSolverInterfaceprotected
    SetNumThreads(int num_threads)operations_research::MPSolverInterfaceprotectedvirtual
    SetObjectiveCoefficient(const MPVariable *const variable, double coefficient)=0operations_research::MPSolverInterfacepure virtual
    SetObjectiveOffset(double value)=0operations_research::MPSolverInterfacepure virtual
    SetOptimizationDirection(bool maximize)=0operations_research::MPSolverInterfacepure virtual
    SetParameters(const MPSolverParameters &param)=0operations_research::MPSolverInterfaceprotectedpure virtual
    SetPresolveMode(int value)=0operations_research::MPSolverInterfaceprotectedpure virtual
    SetPrimalTolerance(double value)=0operations_research::MPSolverInterfaceprotectedpure virtual
    SetRelativeMipGap(double value)=0operations_research::MPSolverInterfaceprotectedpure virtual
    SetScalingMode(int value)=0operations_research::MPSolverInterfaceprotectedpure virtual
    SetSolverSpecificParametersAsString(const std::string &parameters)operations_research::MPSolverInterfaceprotectedvirtual
    SetStartingLpBasis(const std::vector< MPSolver::BasisStatus > &variable_statuses, const std::vector< MPSolver::BasisStatus > &constraint_statuses)operations_research::MPSolverInterfaceinlinevirtual
    SetUnsupportedDoubleParam(MPSolverParameters::DoubleParam param)operations_research::MPSolverInterfaceprotected
    SetUnsupportedIntegerParam(MPSolverParameters::IntegerParam param)operations_research::MPSolverInterfaceprotectedvirtual
    SetVariableBounds(int index, double lb, double ub)=0operations_research::MPSolverInterfacepure virtual
    SetVariableInteger(int index, bool integer)=0operations_research::MPSolverInterfacepure virtual
    SOLUTION_SYNCHRONIZED enum valueoperations_research::MPSolverInterface
    Solve(const MPSolverParameters &param)=0operations_research::MPSolverInterfacepure virtual
    solver_operations_research::MPSolverInterfaceprotected
    SolverVersion() const =0operations_research::MPSolverInterfacepure virtual
    sync_status_operations_research::MPSolverInterfaceprotected
    SynchronizationStatus enum nameoperations_research::MPSolverInterface
    trivial_worst_objective_bound() constoperations_research::MPSolverInterface
    underlying_solver()=0operations_research::MPSolverInterfacepure virtual
    ValidFileExtensionForParameterFile() constoperations_research::MPSolverInterfaceprotectedvirtual
    variable_is_extracted(int var_index) constoperations_research::MPSolverInterfaceinline
    Write(const std::string &filename)operations_research::MPSolverInterfacevirtual
    ~MPSolverInterface()operations_research::MPSolverInterfacevirtual
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolverInterface.html b/docs/cpp_linear/classoperations__research_1_1MPSolverInterface.html new file mode 100644 index 0000000000..f3f4055cfb --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPSolverInterface.html @@ -0,0 +1,2520 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    + +
    +

    Detailed Description

    +
    +

    Definition at line 1592 of file linear_solver.h.

    +
    + + + +

    +Public Types

    enum  SynchronizationStatus { MUST_RELOAD, +MODEL_SYNCHRONIZED, +SOLUTION_SYNCHRONIZED + }
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     MPSolverInterface (MPSolver *const solver)
     
    virtual ~MPSolverInterface ()
     
    virtual MPSolver::ResultStatus Solve (const MPSolverParameters &param)=0
     
    virtual void Write (const std::string &filename)
     
    virtual void Reset ()=0
     
    virtual void SetOptimizationDirection (bool maximize)=0
     
    virtual void SetVariableBounds (int index, double lb, double ub)=0
     
    virtual void SetVariableInteger (int index, bool integer)=0
     
    virtual void SetConstraintBounds (int index, double lb, double ub)=0
     
    virtual void AddRowConstraint (MPConstraint *const ct)=0
     
    virtual bool AddIndicatorConstraint (MPConstraint *const ct)
     
    virtual void AddVariable (MPVariable *const var)=0
     
    virtual void SetCoefficient (MPConstraint *const constraint, const MPVariable *const variable, double new_value, double old_value)=0
     
    virtual void ClearConstraint (MPConstraint *const constraint)=0
     
    virtual void SetObjectiveCoefficient (const MPVariable *const variable, double coefficient)=0
     
    virtual void SetObjectiveOffset (double value)=0
     
    virtual void ClearObjective ()=0
     
    virtual void BranchingPriorityChangedForVariable (int var_index)
     
    virtual int64 iterations () const =0
     
    virtual int64 nodes () const =0
     
    virtual double best_objective_bound () const =0
     
    double trivial_worst_objective_bound () const
     
    double objective_value () const
     
    virtual MPSolver::BasisStatus row_status (int constraint_index) const =0
     
    virtual MPSolver::BasisStatus column_status (int variable_index) const =0
     
    bool CheckSolutionIsSynchronized () const
     
    virtual bool CheckSolutionExists () const
     
    bool CheckSolutionIsSynchronizedAndExists () const
     
    virtual bool CheckBestObjectiveBoundExists () const
     
    virtual bool IsContinuous () const =0
     
    virtual bool IsLP () const =0
     
    virtual bool IsMIP () const =0
     
    int last_variable_index () const
     
    bool variable_is_extracted (int var_index) const
     
    void set_variable_as_extracted (int var_index, bool extracted)
     
    bool constraint_is_extracted (int ct_index) const
     
    void set_constraint_as_extracted (int ct_index, bool extracted)
     
    bool quiet () const
     
    void set_quiet (bool quiet_value)
     
    MPSolver::ResultStatus result_status () const
     
    virtual std::string SolverVersion () const =0
     
    virtual void * underlying_solver ()=0
     
    virtual double ComputeExactConditionNumber () const
     
    virtual void SetStartingLpBasis (const std::vector< MPSolver::BasisStatus > &variable_statuses, const std::vector< MPSolver::BasisStatus > &constraint_statuses)
     
    virtual bool InterruptSolve ()
     
    virtual bool NextSolution ()
     
    + + + + + +

    +Static Public Attributes

    static const int64 kUnknownNumberOfIterations = -1
     
    static const int64 kUnknownNumberOfNodes = -1
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    void ExtractModel ()
     
    virtual void ExtractNewVariables ()=0
     
    virtual void ExtractNewConstraints ()=0
     
    virtual void ExtractObjective ()=0
     
    void ResetExtractionInformation ()
     
    void InvalidateSolutionSynchronization ()
     
    void SetCommonParameters (const MPSolverParameters &param)
     
    void SetMIPParameters (const MPSolverParameters &param)
     
    virtual void SetParameters (const MPSolverParameters &param)=0
     
    void SetUnsupportedDoubleParam (MPSolverParameters::DoubleParam param)
     
    virtual void SetUnsupportedIntegerParam (MPSolverParameters::IntegerParam param)
     
    void SetDoubleParamToUnsupportedValue (MPSolverParameters::DoubleParam param, double value)
     
    virtual void SetIntegerParamToUnsupportedValue (MPSolverParameters::IntegerParam param, int value)
     
    virtual void SetRelativeMipGap (double value)=0
     
    virtual void SetPrimalTolerance (double value)=0
     
    virtual void SetDualTolerance (double value)=0
     
    virtual void SetPresolveMode (int value)=0
     
    virtual util::Status SetNumThreads (int num_threads)
     
    virtual bool SetSolverSpecificParametersAsString (const std::string &parameters)
     
    virtual bool ReadParameterFile (const std::string &filename)
     
    virtual std::string ValidFileExtensionForParameterFile () const
     
    virtual void SetScalingMode (int value)=0
     
    virtual void SetLpAlgorithm (int value)=0
     
    + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    MPSolver *const solver_
     
    SynchronizationStatus sync_status_
     
    MPSolver::ResultStatus result_status_
     
    bool maximize_
     
    int last_constraint_index_
     
    int last_variable_index_
     
    double objective_value_
     
    bool quiet_
     
    + + + +

    +Static Protected Attributes

    static const int kDummyVariableIndex
     
    + + + + + + + +

    +Friends

    class MPSolver
     
    class MPConstraint
     
    class MPObjective
     
    +

    Member Enumeration Documentation

    + +

    ◆ SynchronizationStatus

    + +
    +
    + + + + +
    Enumerator
    MUST_RELOAD 
    MODEL_SYNCHRONIZED 
    SOLUTION_SYNCHRONIZED 
    + +

    Definition at line 1594 of file linear_solver.h.

    + +
    +
    +

    Constructor & Destructor Documentation

    + +

    ◆ MPSolverInterface()

    + +
    +
    + + + + + +
    + + + + + + + + +
    operations_research::MPSolverInterface::MPSolverInterface (MPSolver *const solver)
    +
    +explicit
    +
    + +
    +
    + +

    ◆ ~MPSolverInterface()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual operations_research::MPSolverInterface::~MPSolverInterface ()
    +
    +virtual
    +
    + +
    +
    +

    Member Function Documentation

    + +

    ◆ AddIndicatorConstraint()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual bool operations_research::MPSolverInterface::AddIndicatorConstraint (MPConstraint *const ct)
    +
    +inlinevirtual
    +
    + +

    Definition at line 1649 of file linear_solver.h.

    + +
    +
    + +

    ◆ AddRowConstraint()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::AddRowConstraint (MPConstraint *const ct)
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ AddVariable()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::AddVariable (MPVariable *const var)
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ best_objective_bound()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual double operations_research::MPSolverInterface::best_objective_bound () const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ BranchingPriorityChangedForVariable()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::BranchingPriorityChangedForVariable (int var_index)
    +
    +inlinevirtual
    +
    + +

    Definition at line 1675 of file linear_solver.h.

    + +
    +
    + +

    ◆ CheckBestObjectiveBoundExists()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual bool operations_research::MPSolverInterface::CheckBestObjectiveBoundExists () const
    +
    +virtual
    +
    + +
    +
    + +

    ◆ CheckSolutionExists()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual bool operations_research::MPSolverInterface::CheckSolutionExists () const
    +
    +virtual
    +
    + +
    +
    + +

    ◆ CheckSolutionIsSynchronized()

    + +
    +
    + + + + + + + +
    bool operations_research::MPSolverInterface::CheckSolutionIsSynchronized () const
    +
    + +
    +
    + +

    ◆ CheckSolutionIsSynchronizedAndExists()

    + +
    +
    + + + + + +
    + + + + + + + +
    bool operations_research::MPSolverInterface::CheckSolutionIsSynchronizedAndExists () const
    +
    +inline
    +
    + +

    Definition at line 1705 of file linear_solver.h.

    + +
    +
    + +

    ◆ ClearConstraint()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::ClearConstraint (MPConstraint *const constraint)
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ ClearObjective()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual void operations_research::MPSolverInterface::ClearObjective ()
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ column_status()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual MPSolver::BasisStatus operations_research::MPSolverInterface::column_status (int variable_index) const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ ComputeExactConditionNumber()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual double operations_research::MPSolverInterface::ComputeExactConditionNumber () const
    +
    +virtual
    +
    + +
    +
    + +

    ◆ constraint_is_extracted()

    + +
    +
    + + + + + +
    + + + + + + + + +
    bool operations_research::MPSolverInterface::constraint_is_extracted (int ct_index) const
    +
    +inline
    +
    + +

    Definition at line 1734 of file linear_solver.h.

    + +
    +
    + +

    ◆ ExtractModel()

    + +
    +
    + + + + + +
    + + + + + + + +
    void operations_research::MPSolverInterface::ExtractModel ()
    +
    +protected
    +
    + +
    +
    + +

    ◆ ExtractNewConstraints()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual void operations_research::MPSolverInterface::ExtractNewConstraints ()
    +
    +protectedpure virtual
    +
    + +
    +
    + +

    ◆ ExtractNewVariables()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual void operations_research::MPSolverInterface::ExtractNewVariables ()
    +
    +protectedpure virtual
    +
    + +
    +
    + +

    ◆ ExtractObjective()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual void operations_research::MPSolverInterface::ExtractObjective ()
    +
    +protectedpure virtual
    +
    + +
    +
    + +

    ◆ InterruptSolve()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual bool operations_research::MPSolverInterface::InterruptSolve ()
    +
    +inlinevirtual
    +
    + +

    Definition at line 1769 of file linear_solver.h.

    + +
    +
    + +

    ◆ InvalidateSolutionSynchronization()

    + +
    +
    + + + + + +
    + + + + + + + +
    void operations_research::MPSolverInterface::InvalidateSolutionSynchronization ()
    +
    +protected
    +
    + +
    +
    + +

    ◆ IsContinuous()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual bool operations_research::MPSolverInterface::IsContinuous () const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ IsLP()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual bool operations_research::MPSolverInterface::IsLP () const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ IsMIP()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual bool operations_research::MPSolverInterface::IsMIP () const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ iterations()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual int64 operations_research::MPSolverInterface::iterations () const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ last_variable_index()

    + +
    +
    + + + + + +
    + + + + + + + +
    int operations_research::MPSolverInterface::last_variable_index () const
    +
    +inline
    +
    + +

    Definition at line 1726 of file linear_solver.h.

    + +
    +
    + +

    ◆ NextSolution()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual bool operations_research::MPSolverInterface::NextSolution ()
    +
    +inlinevirtual
    +
    + +

    Definition at line 1772 of file linear_solver.h.

    + +
    +
    + +

    ◆ nodes()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual int64 operations_research::MPSolverInterface::nodes () const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ objective_value()

    + +
    +
    + + + + + + + +
    double operations_research::MPSolverInterface::objective_value () const
    +
    + +
    +
    + +

    ◆ quiet()

    + +
    +
    + + + + + +
    + + + + + + + +
    bool operations_research::MPSolverInterface::quiet () const
    +
    +inline
    +
    + +

    Definition at line 1742 of file linear_solver.h.

    + +
    +
    + +

    ◆ ReadParameterFile()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual bool operations_research::MPSolverInterface::ReadParameterFile (const std::string & filename)
    +
    +protectedvirtual
    +
    + +
    +
    + +

    ◆ Reset()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual void operations_research::MPSolverInterface::Reset ()
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ ResetExtractionInformation()

    + +
    +
    + + + + + +
    + + + + + + + +
    void operations_research::MPSolverInterface::ResetExtractionInformation ()
    +
    +protected
    +
    + +
    +
    + +

    ◆ result_status()

    + +
    +
    + + + + + +
    + + + + + + + +
    MPSolver::ResultStatus operations_research::MPSolverInterface::result_status () const
    +
    +inline
    +
    + +

    Definition at line 1747 of file linear_solver.h.

    + +
    +
    + +

    ◆ row_status()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual MPSolver::BasisStatus operations_research::MPSolverInterface::row_status (int constraint_index) const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ set_constraint_as_extracted()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPSolverInterface::set_constraint_as_extracted (int ct_index,
    bool extracted 
    )
    +
    +inline
    +
    + +

    Definition at line 1737 of file linear_solver.h.

    + +
    +
    + +

    ◆ set_quiet()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPSolverInterface::set_quiet (bool quiet_value)
    +
    +inline
    +
    + +

    Definition at line 1744 of file linear_solver.h.

    + +
    +
    + +

    ◆ set_variable_as_extracted()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPSolverInterface::set_variable_as_extracted (int var_index,
    bool extracted 
    )
    +
    +inline
    +
    + +

    Definition at line 1731 of file linear_solver.h.

    + +
    +
    + +

    ◆ SetCoefficient()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetCoefficient (MPConstraint *const constraint,
    const MPVariable *const variable,
    double new_value,
    double old_value 
    )
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ SetCommonParameters()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPSolverInterface::SetCommonParameters (const MPSolverParametersparam)
    +
    +protected
    +
    + +
    +
    + +

    ◆ SetConstraintBounds()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetConstraintBounds (int index,
    double lb,
    double ub 
    )
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ SetDoubleParamToUnsupportedValue()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPSolverInterface::SetDoubleParamToUnsupportedValue (MPSolverParameters::DoubleParam param,
    double value 
    )
    +
    +protected
    +
    + +
    +
    + +

    ◆ SetDualTolerance()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetDualTolerance (double value)
    +
    +protectedpure virtual
    +
    + +
    +
    + +

    ◆ SetIntegerParamToUnsupportedValue()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetIntegerParamToUnsupportedValue (MPSolverParameters::IntegerParam param,
    int value 
    )
    +
    +protectedvirtual
    +
    + +
    +
    + +

    ◆ SetLpAlgorithm()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetLpAlgorithm (int value)
    +
    +protectedpure virtual
    +
    + +
    +
    + +

    ◆ SetMIPParameters()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPSolverInterface::SetMIPParameters (const MPSolverParametersparam)
    +
    +protected
    +
    + +
    +
    + +

    ◆ SetNumThreads()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual util::Status operations_research::MPSolverInterface::SetNumThreads (int num_threads)
    +
    +protectedvirtual
    +
    + +
    +
    + +

    ◆ SetObjectiveCoefficient()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetObjectiveCoefficient (const MPVariable *const variable,
    double coefficient 
    )
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ SetObjectiveOffset()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetObjectiveOffset (double value)
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ SetOptimizationDirection()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetOptimizationDirection (bool maximize)
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ SetParameters()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetParameters (const MPSolverParametersparam)
    +
    +protectedpure virtual
    +
    + +
    +
    + +

    ◆ SetPresolveMode()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetPresolveMode (int value)
    +
    +protectedpure virtual
    +
    + +
    +
    + +

    ◆ SetPrimalTolerance()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetPrimalTolerance (double value)
    +
    +protectedpure virtual
    +
    + +
    +
    + +

    ◆ SetRelativeMipGap()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetRelativeMipGap (double value)
    +
    +protectedpure virtual
    +
    + +
    +
    + +

    ◆ SetScalingMode()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetScalingMode (int value)
    +
    +protectedpure virtual
    +
    + +
    +
    + +

    ◆ SetSolverSpecificParametersAsString()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual bool operations_research::MPSolverInterface::SetSolverSpecificParametersAsString (const std::string & parameters)
    +
    +protectedvirtual
    +
    + +
    +
    + +

    ◆ SetStartingLpBasis()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetStartingLpBasis (const std::vector< MPSolver::BasisStatus > & variable_statuses,
    const std::vector< MPSolver::BasisStatus > & constraint_statuses 
    )
    +
    +inlinevirtual
    +
    + +

    Definition at line 1763 of file linear_solver.h.

    + +
    +
    + +

    ◆ SetUnsupportedDoubleParam()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPSolverInterface::SetUnsupportedDoubleParam (MPSolverParameters::DoubleParam param)
    +
    +protected
    +
    + +
    +
    + +

    ◆ SetUnsupportedIntegerParam()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetUnsupportedIntegerParam (MPSolverParameters::IntegerParam param)
    +
    +protectedvirtual
    +
    + +
    +
    + +

    ◆ SetVariableBounds()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetVariableBounds (int index,
    double lb,
    double ub 
    )
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ SetVariableInteger()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual void operations_research::MPSolverInterface::SetVariableInteger (int index,
    bool integer 
    )
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ Solve()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual MPSolver::ResultStatus operations_research::MPSolverInterface::Solve (const MPSolverParametersparam)
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ SolverVersion()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual std::string operations_research::MPSolverInterface::SolverVersion () const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ trivial_worst_objective_bound()

    + +
    +
    + + + + + + + +
    double operations_research::MPSolverInterface::trivial_worst_objective_bound () const
    +
    + +
    +
    + +

    ◆ underlying_solver()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual void* operations_research::MPSolverInterface::underlying_solver ()
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ ValidFileExtensionForParameterFile()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual std::string operations_research::MPSolverInterface::ValidFileExtensionForParameterFile () const
    +
    +protectedvirtual
    +
    + +
    +
    + +

    ◆ variable_is_extracted()

    + +
    +
    + + + + + +
    + + + + + + + + +
    bool operations_research::MPSolverInterface::variable_is_extracted (int var_index) const
    +
    +inline
    +
    + +

    Definition at line 1728 of file linear_solver.h.

    + +
    +
    + +

    ◆ Write()

    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual void operations_research::MPSolverInterface::Write (const std::string & filename)
    +
    +virtual
    +
    + +
    +
    +

    Friends And Related Function Documentation

    + +

    ◆ MPConstraint

    + +
    +
    + + + + + +
    + + + + +
    friend class MPConstraint
    +
    +friend
    +
    + +

    Definition at line 1777 of file linear_solver.h.

    + +
    +
    + +

    ◆ MPObjective

    + +
    +
    + + + + + +
    + + + + +
    friend class MPObjective
    +
    +friend
    +
    + +

    Definition at line 1778 of file linear_solver.h.

    + +
    +
    + +

    ◆ MPSolver

    + +
    +
    + + + + + +
    + + + + +
    friend class MPSolver
    +
    +friend
    +
    + +

    Definition at line 1774 of file linear_solver.h.

    + +
    +
    +

    Member Data Documentation

    + +

    ◆ kDummyVariableIndex

    + +
    +
    + + + + + +
    + + + + +
    const int operations_research::MPSolverInterface::kDummyVariableIndex
    +
    +staticprotected
    +
    + +

    Definition at line 1803 of file linear_solver.h.

    + +
    +
    + +

    ◆ kUnknownNumberOfIterations

    + +
    +
    + + + + + +
    + + + + +
    const int64 operations_research::MPSolverInterface::kUnknownNumberOfIterations = -1
    +
    +static
    +
    + +

    Definition at line 1609 of file linear_solver.h.

    + +
    +
    + +

    ◆ kUnknownNumberOfNodes

    + +
    +
    + + + + + +
    + + + + +
    const int64 operations_research::MPSolverInterface::kUnknownNumberOfNodes = -1
    +
    +static
    +
    + +

    Definition at line 1612 of file linear_solver.h.

    + +
    +
    + +

    ◆ last_constraint_index_

    + +
    +
    + + + + + +
    + + + + +
    int operations_research::MPSolverInterface::last_constraint_index_
    +
    +protected
    +
    + +

    Definition at line 1791 of file linear_solver.h.

    + +
    +
    + +

    ◆ last_variable_index_

    + +
    +
    + + + + + +
    + + + + +
    int operations_research::MPSolverInterface::last_variable_index_
    +
    +protected
    +
    + +

    Definition at line 1793 of file linear_solver.h.

    + +
    +
    + +

    ◆ maximize_

    + +
    +
    + + + + + +
    + + + + +
    bool operations_research::MPSolverInterface::maximize_
    +
    +protected
    +
    + +

    Definition at line 1788 of file linear_solver.h.

    + +
    +
    + +

    ◆ objective_value_

    + +
    +
    + + + + + +
    + + + + +
    double operations_research::MPSolverInterface::objective_value_
    +
    +protected
    +
    + +

    Definition at line 1796 of file linear_solver.h.

    + +
    +
    + +

    ◆ quiet_

    + +
    +
    + + + + + +
    + + + + +
    bool operations_research::MPSolverInterface::quiet_
    +
    +protected
    +
    + +

    Definition at line 1799 of file linear_solver.h.

    + +
    +
    + +

    ◆ result_status_

    + +
    +
    + + + + + +
    + + + + +
    MPSolver::ResultStatus operations_research::MPSolverInterface::result_status_
    +
    +protected
    +
    + +

    Definition at line 1786 of file linear_solver.h.

    + +
    +
    + +

    ◆ solver_

    + +
    +
    + + + + + +
    + + + + +
    MPSolver* const operations_research::MPSolverInterface::solver_
    +
    +protected
    +
    + +

    Definition at line 1781 of file linear_solver.h.

    + +
    +
    + +

    ◆ sync_status_

    + +
    +
    + + + + + +
    + + + + +
    SynchronizationStatus operations_research::MPSolverInterface::sync_status_
    +
    +protected
    +
    + +

    Definition at line 1783 of file linear_solver.h.

    + +
    +
    +
    The documentation for this class was generated from the following file: +
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolverInterface.js b/docs/cpp_linear/classoperations__research_1_1MPSolverInterface.js new file mode 100644 index 0000000000..bb4b07ecfb --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPSolverInterface.js @@ -0,0 +1,91 @@ +var classoperations__research_1_1MPSolverInterface = +[ + [ "SynchronizationStatus", "classoperations__research_1_1MPSolverInterface.html#a912394f09fe0aee694df2e9c962853a0", [ + [ "MUST_RELOAD", "classoperations__research_1_1MPSolverInterface.html#a912394f09fe0aee694df2e9c962853a0a5e5dccb6be46f13fd046ebf8dd63fc0b", null ], + [ "MODEL_SYNCHRONIZED", "classoperations__research_1_1MPSolverInterface.html#a912394f09fe0aee694df2e9c962853a0abb904e2bd71f6c8f7612f5bb41a0b8f0", null ], + [ "SOLUTION_SYNCHRONIZED", "classoperations__research_1_1MPSolverInterface.html#a912394f09fe0aee694df2e9c962853a0a1a93fdf313f6e448af723eb80bbbb7ba", null ] + ] ], + [ "MPSolverInterface", "classoperations__research_1_1MPSolverInterface.html#a152b3f16428c0a1c58247ba88d95f0a4", null ], + [ "~MPSolverInterface", "classoperations__research_1_1MPSolverInterface.html#acd4eda4c38c00ed2cf7908c29bb74de3", null ], + [ "AddIndicatorConstraint", "classoperations__research_1_1MPSolverInterface.html#aa38ec74a9f9beb650fbb88dece755ebd", null ], + [ "AddRowConstraint", "classoperations__research_1_1MPSolverInterface.html#a4c06cfd4d3c34ca0a96ad90f50a1abd8", null ], + [ "AddVariable", "classoperations__research_1_1MPSolverInterface.html#a94980bb46c791363fe9ce55d57e2a79a", null ], + [ "best_objective_bound", "classoperations__research_1_1MPSolverInterface.html#a1e4b520fcd965a7a2b975035e1a906b5", null ], + [ "BranchingPriorityChangedForVariable", "classoperations__research_1_1MPSolverInterface.html#a3038e118fcb2ccc9f0e2493cc48a1545", null ], + [ "CheckBestObjectiveBoundExists", "classoperations__research_1_1MPSolverInterface.html#a80e389070e3984f5333c4fd96311231b", null ], + [ "CheckSolutionExists", "classoperations__research_1_1MPSolverInterface.html#a8f0df932d3bffc929a8b463fe9697431", null ], + [ "CheckSolutionIsSynchronized", "classoperations__research_1_1MPSolverInterface.html#a0fabe855ed7766a6ccddb63cbbfa3bc4", null ], + [ "CheckSolutionIsSynchronizedAndExists", "classoperations__research_1_1MPSolverInterface.html#ad792f0af5ffa1072f0d6a4d3d872f73a", null ], + [ "ClearConstraint", "classoperations__research_1_1MPSolverInterface.html#a38ad5df166aef299c76fac71eb785523", null ], + [ "ClearObjective", "classoperations__research_1_1MPSolverInterface.html#a1d0c4924c375cd234f4a17bf2b8c1a8b", null ], + [ "column_status", "classoperations__research_1_1MPSolverInterface.html#a5a2299c6d83d21a0917d0661fb704dbe", null ], + [ "ComputeExactConditionNumber", "classoperations__research_1_1MPSolverInterface.html#afae6a55da4ebeb2d9c6eb55eeccbdc8b", null ], + [ "constraint_is_extracted", "classoperations__research_1_1MPSolverInterface.html#a90947e6cbecd6bfff60feefa9ba37847", null ], + [ "ExtractModel", "classoperations__research_1_1MPSolverInterface.html#a9ae99b901839c7f1e29193d8a619b728", null ], + [ "ExtractNewConstraints", "classoperations__research_1_1MPSolverInterface.html#a1363e1a1c4a1535b0cb92f46a9efd4b5", null ], + [ "ExtractNewVariables", "classoperations__research_1_1MPSolverInterface.html#a945992529aaaa827d7c9307e996ab2ef", null ], + [ "ExtractObjective", "classoperations__research_1_1MPSolverInterface.html#a24085346a573695d2f3d224b726c5714", null ], + [ "InterruptSolve", "classoperations__research_1_1MPSolverInterface.html#a5f9dc671c62b54a3940f2691f9953e67", null ], + [ "InvalidateSolutionSynchronization", "classoperations__research_1_1MPSolverInterface.html#a27ef26272b0444403e683b31605d88f7", null ], + [ "IsContinuous", "classoperations__research_1_1MPSolverInterface.html#a77db27f245bbe7fec03763cb0f81210a", null ], + [ "IsLP", "classoperations__research_1_1MPSolverInterface.html#a8410c2213e0f2faec9a202b5b670ad6c", null ], + [ "IsMIP", "classoperations__research_1_1MPSolverInterface.html#a3cb924945c7c8ebd6964ba982ffdf276", null ], + [ "iterations", "classoperations__research_1_1MPSolverInterface.html#aa7ef7e2f076fc9208d13fdfb4ec33c76", null ], + [ "last_variable_index", "classoperations__research_1_1MPSolverInterface.html#a4996e4f9b120ab70f4d2382e473dc852", null ], + [ "NextSolution", "classoperations__research_1_1MPSolverInterface.html#a7f6e6fc6c25a04f49e3b95b7510c8369", null ], + [ "nodes", "classoperations__research_1_1MPSolverInterface.html#a6ca427f3c6266f86e41f4b5b1905c7d3", null ], + [ "objective_value", "classoperations__research_1_1MPSolverInterface.html#a9a71292f92599d3f96dc96543c24673d", null ], + [ "quiet", "classoperations__research_1_1MPSolverInterface.html#a86ce7eb3c7e1f5ca9822590f489ab708", null ], + [ "ReadParameterFile", "classoperations__research_1_1MPSolverInterface.html#af3bee59eacd9c98d6f9240167cf3051f", null ], + [ "Reset", "classoperations__research_1_1MPSolverInterface.html#ad4ce4ee159f4c2db5a02923c886c136b", null ], + [ "ResetExtractionInformation", "classoperations__research_1_1MPSolverInterface.html#a3fd73560f782eaf5093a435c61783d09", null ], + [ "result_status", "classoperations__research_1_1MPSolverInterface.html#a0e34bb4ed1518f8104e6f84592e68dc5", null ], + [ "row_status", "classoperations__research_1_1MPSolverInterface.html#aad9285c25e1671edfac7a7748b166770", null ], + [ "set_constraint_as_extracted", "classoperations__research_1_1MPSolverInterface.html#a3c7ae564168e67c161f5111a060a604e", null ], + [ "set_quiet", "classoperations__research_1_1MPSolverInterface.html#adc4579b45ae778e4c61b5c35cffc0eaf", null ], + [ "set_variable_as_extracted", "classoperations__research_1_1MPSolverInterface.html#a01fb82c6f72457879c0defb22ae9db47", null ], + [ "SetCoefficient", "classoperations__research_1_1MPSolverInterface.html#a3ecddb0dba419349214fd4b021d2b9f6", null ], + [ "SetCommonParameters", "classoperations__research_1_1MPSolverInterface.html#ad237855fa79fc36fbf9baedce589384c", null ], + [ "SetConstraintBounds", "classoperations__research_1_1MPSolverInterface.html#ae63369de591dfd558df4c74c1143d84a", null ], + [ "SetDoubleParamToUnsupportedValue", "classoperations__research_1_1MPSolverInterface.html#aa5b34d05b6fbeb881404d4147b63d401", null ], + [ "SetDualTolerance", "classoperations__research_1_1MPSolverInterface.html#abc5c8df36220fb85bf2c4f69b959ead9", null ], + [ "SetIntegerParamToUnsupportedValue", "classoperations__research_1_1MPSolverInterface.html#a0e21cafe5af05431fa67ec7e9bfbf5ec", null ], + [ "SetLpAlgorithm", "classoperations__research_1_1MPSolverInterface.html#a7cde757e7152aa06930afc59709c3c64", null ], + [ "SetMIPParameters", "classoperations__research_1_1MPSolverInterface.html#ab7289f57fd0f768453f2817d59a20c80", null ], + [ "SetNumThreads", "classoperations__research_1_1MPSolverInterface.html#ae6b5032ab0257e33006c4dee5249ad21", null ], + [ "SetObjectiveCoefficient", "classoperations__research_1_1MPSolverInterface.html#ab54c763dfb19f258603711eddfe66bca", null ], + [ "SetObjectiveOffset", "classoperations__research_1_1MPSolverInterface.html#a6a0b90433ed94679a6065000b384fb64", null ], + [ "SetOptimizationDirection", "classoperations__research_1_1MPSolverInterface.html#ac35b40e98fabb8bcd5e62cdd57678ff3", null ], + [ "SetParameters", "classoperations__research_1_1MPSolverInterface.html#a6c1c1fc340f3f15e75745d7e6b0fe3df", null ], + [ "SetPresolveMode", "classoperations__research_1_1MPSolverInterface.html#a51ae167e111959ecbe3f67e0e12e2f09", null ], + [ "SetPrimalTolerance", "classoperations__research_1_1MPSolverInterface.html#a119e0274303ed2eb0c80fcef960cfff0", null ], + [ "SetRelativeMipGap", "classoperations__research_1_1MPSolverInterface.html#a2b6fcec92ec397f38a9657d7d38a9e49", null ], + [ "SetScalingMode", "classoperations__research_1_1MPSolverInterface.html#aaaa84e64f7c29af15440e02189a362da", null ], + [ "SetSolverSpecificParametersAsString", "classoperations__research_1_1MPSolverInterface.html#a9421cf0896b24513fb63283fac87de44", null ], + [ "SetStartingLpBasis", "classoperations__research_1_1MPSolverInterface.html#ae60b6e41d8b3077d982e0347c85b802c", null ], + [ "SetUnsupportedDoubleParam", "classoperations__research_1_1MPSolverInterface.html#a861fc44ad0a6147a79dbcef606d34958", null ], + [ "SetUnsupportedIntegerParam", "classoperations__research_1_1MPSolverInterface.html#a2b7834a656a48c094c34c13c60bd742c", null ], + [ "SetVariableBounds", "classoperations__research_1_1MPSolverInterface.html#af80b8873e1b07fedcac24c5704a889cf", null ], + [ "SetVariableInteger", "classoperations__research_1_1MPSolverInterface.html#a5e445125231a8febc619d3a81cb8c12f", null ], + [ "Solve", "classoperations__research_1_1MPSolverInterface.html#a99d3df0f2e02937e56473d9f3df68965", null ], + [ "SolverVersion", "classoperations__research_1_1MPSolverInterface.html#a5e19196bab184ddaf66a7e34056cab48", null ], + [ "trivial_worst_objective_bound", "classoperations__research_1_1MPSolverInterface.html#aec492297c32397c8a82490efb952e137", null ], + [ "underlying_solver", "classoperations__research_1_1MPSolverInterface.html#ad98f058f6721dba0ddeb4f82f7bc98ef", null ], + [ "ValidFileExtensionForParameterFile", "classoperations__research_1_1MPSolverInterface.html#a5220692ca2d4674d77045a27317bca3e", null ], + [ "variable_is_extracted", "classoperations__research_1_1MPSolverInterface.html#a8245f5863b87aa3f6e9ac19d29531a9a", null ], + [ "Write", "classoperations__research_1_1MPSolverInterface.html#a075910a059a214af934af08f3cba7db4", null ], + [ "MPConstraint", "classoperations__research_1_1MPSolverInterface.html#a24102af97b3c7e803861e1d6983b1fea", null ], + [ "MPObjective", "classoperations__research_1_1MPSolverInterface.html#a77dbe3a653f9c5d30e818000d92d8b17", null ], + [ "MPSolver", "classoperations__research_1_1MPSolverInterface.html#ac2c01b4de8f7670e37daa7d42b804dd4", null ], + [ "kDummyVariableIndex", "classoperations__research_1_1MPSolverInterface.html#a693c6f125a85b70fe94057be1cfd0819", null ], + [ "kUnknownNumberOfIterations", "classoperations__research_1_1MPSolverInterface.html#a156255f5e27fd48b7ee43539b52f644f", null ], + [ "kUnknownNumberOfNodes", "classoperations__research_1_1MPSolverInterface.html#a25b846bdb22eb75b6c0f3b9922556c46", null ], + [ "last_constraint_index_", "classoperations__research_1_1MPSolverInterface.html#a577812bda95732730419025af875deb3", null ], + [ "last_variable_index_", "classoperations__research_1_1MPSolverInterface.html#a45aa65ea825c85f885b0d8a0064af2f6", null ], + [ "maximize_", "classoperations__research_1_1MPSolverInterface.html#aaabe8c85cd90dd61e4c9de70667b0c16", null ], + [ "objective_value_", "classoperations__research_1_1MPSolverInterface.html#a9fbca54e7d25c2bfacfac1e47183e14f", null ], + [ "quiet_", "classoperations__research_1_1MPSolverInterface.html#ac962e5cc7308644424829668241a8fcf", null ], + [ "result_status_", "classoperations__research_1_1MPSolverInterface.html#add7194b3e70938a6bb7fb8e7c6532e56", null ], + [ "solver_", "classoperations__research_1_1MPSolverInterface.html#ae27c5da090750971d680f2bf8f4f706b", null ], + [ "sync_status_", "classoperations__research_1_1MPSolverInterface.html#af7655248b40e336f843180b9ef37dc3c", null ] +]; \ No newline at end of file diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolverParameters-members.html b/docs/cpp_linear/classoperations__research_1_1MPSolverParameters-members.html new file mode 100644 index 0000000000..3f4408ae84 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPSolverParameters-members.html @@ -0,0 +1,100 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    +
    +
    operations_research::MPSolverParameters Member List
    +
    +
    + +

    This is the complete list of members for operations_research::MPSolverParameters, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    BARRIER enum valueoperations_research::MPSolverParameters
    DoubleParam enum nameoperations_research::MPSolverParameters
    DUAL enum valueoperations_research::MPSolverParameters
    DUAL_TOLERANCE enum valueoperations_research::MPSolverParameters
    GetDoubleParam(MPSolverParameters::DoubleParam param) constoperations_research::MPSolverParameters
    GetIntegerParam(MPSolverParameters::IntegerParam param) constoperations_research::MPSolverParameters
    INCREMENTALITY enum valueoperations_research::MPSolverParameters
    INCREMENTALITY_OFF enum valueoperations_research::MPSolverParameters
    INCREMENTALITY_ON enum valueoperations_research::MPSolverParameters
    IncrementalityValues enum nameoperations_research::MPSolverParameters
    IntegerParam enum nameoperations_research::MPSolverParameters
    kDefaultDoubleParamValueoperations_research::MPSolverParametersstatic
    kDefaultDualToleranceoperations_research::MPSolverParametersstatic
    kDefaultIncrementalityoperations_research::MPSolverParametersstatic
    kDefaultIntegerParamValueoperations_research::MPSolverParametersstatic
    kDefaultPresolveoperations_research::MPSolverParametersstatic
    kDefaultPrimalToleranceoperations_research::MPSolverParametersstatic
    kDefaultRelativeMipGapoperations_research::MPSolverParametersstatic
    kUnknownDoubleParamValueoperations_research::MPSolverParametersstatic
    kUnknownIntegerParamValueoperations_research::MPSolverParametersstatic
    LP_ALGORITHM enum valueoperations_research::MPSolverParameters
    LpAlgorithmValues enum nameoperations_research::MPSolverParameters
    MPSolverParameters()operations_research::MPSolverParameters
    PRESOLVE enum valueoperations_research::MPSolverParameters
    PRESOLVE_OFF enum valueoperations_research::MPSolverParameters
    PRESOLVE_ON enum valueoperations_research::MPSolverParameters
    PresolveValues enum nameoperations_research::MPSolverParameters
    PRIMAL enum valueoperations_research::MPSolverParameters
    PRIMAL_TOLERANCE enum valueoperations_research::MPSolverParameters
    RELATIVE_MIP_GAP enum valueoperations_research::MPSolverParameters
    Reset()operations_research::MPSolverParameters
    ResetDoubleParam(MPSolverParameters::DoubleParam param)operations_research::MPSolverParameters
    ResetIntegerParam(MPSolverParameters::IntegerParam param)operations_research::MPSolverParameters
    SCALING enum valueoperations_research::MPSolverParameters
    SCALING_OFF enum valueoperations_research::MPSolverParameters
    SCALING_ON enum valueoperations_research::MPSolverParameters
    ScalingValues enum nameoperations_research::MPSolverParameters
    SetDoubleParam(MPSolverParameters::DoubleParam param, double value)operations_research::MPSolverParameters
    SetIntegerParam(MPSolverParameters::IntegerParam param, int value)operations_research::MPSolverParameters
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolverParameters.html b/docs/cpp_linear/classoperations__research_1_1MPSolverParameters.html new file mode 100644 index 0000000000..77e6db78d7 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPSolverParameters.html @@ -0,0 +1,716 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    + +
    +
    operations_research::MPSolverParameters Class Reference
    +
    +
    +

    Detailed Description

    +

    This class stores parameter settings for LP and MIP solvers.

    +

    Some parameters are marked as advanced: do not change their values unless you know what you are doing!

    +

    For developers: how to add a new parameter:

      +
    • Add the new Foo parameter in the DoubleParam or IntegerParam enum.
    • +
    • If it is a categorical param, add a FooValues enum.
    • +
    • Decide if the wrapper should define a default value for it: yes if it controls the properties of the solution (example: tolerances) or if it consistently improves performance, no otherwise. If yes, define kDefaultFoo.
    • +
    • Add a foo_value_ member and, if no default value is defined, a foo_is_default_ member.
    • +
    • Add code to handle Foo in Set...Param, Reset...Param, Get...Param, Reset and the constructor.
    • +
    • In class MPSolverInterface, add a virtual method SetFoo, add it to SetCommonParameters or SetMIPParameters, and implement it for each solver. Sometimes, parameters need to be implemented differently, see for example the INCREMENTALITY implementation.
    • +
    • Add a test in linear_solver_test.cc.
    • +
    +

    TODO(user): store the parameter values in a protocol buffer instead. We need to figure out how to deal with the subtleties of the default values.

    + +

    Definition at line 1405 of file linear_solver.h.

    +
    + + + + + + + + + + + + + + + + + + + +

    +Public Types

    enum  DoubleParam { RELATIVE_MIP_GAP = 0, +PRIMAL_TOLERANCE = 1, +DUAL_TOLERANCE = 2 + }
     Enumeration of parameters that take continuous values. More...
     
    enum  IntegerParam { PRESOLVE = 1000, +LP_ALGORITHM = 1001, +INCREMENTALITY = 1002, +SCALING = 1003 + }
     Enumeration of parameters that take integer or categorical values. More...
     
    enum  PresolveValues { PRESOLVE_OFF = 0, +PRESOLVE_ON = 1 + }
     For each categorical parameter, enumeration of possible values. More...
     
    enum  LpAlgorithmValues { DUAL = 10, +PRIMAL = 11, +BARRIER = 12 + }
     LP algorithm to use. More...
     
    enum  IncrementalityValues { INCREMENTALITY_OFF = 0, +INCREMENTALITY_ON = 1 + }
     Advanced usage: Incrementality options. More...
     
    enum  ScalingValues { SCALING_OFF = 0, +SCALING_ON = 1 + }
     Advanced usage: Scaling options. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     MPSolverParameters ()
     The constructor sets all parameters to their default value. More...
     
    void SetDoubleParam (MPSolverParameters::DoubleParam param, double value)
     Sets a double parameter to a specific value. More...
     
    void SetIntegerParam (MPSolverParameters::IntegerParam param, int value)
     Sets a integer parameter to a specific value. More...
     
    void ResetDoubleParam (MPSolverParameters::DoubleParam param)
     Sets a double parameter to its default value (default value defined in MPSolverParameters if it exists, otherwise the default value defined in the underlying solver). More...
     
    void ResetIntegerParam (MPSolverParameters::IntegerParam param)
     Sets an integer parameter to its default value (default value defined in MPSolverParameters if it exists, otherwise the default value defined in the underlying solver). More...
     
    void Reset ()
     Sets all parameters to their default value. More...
     
    double GetDoubleParam (MPSolverParameters::DoubleParam param) const
     Returns the value of a double parameter. More...
     
    int GetIntegerParam (MPSolverParameters::IntegerParam param) const
     Returns the value of an integer parameter. More...
     
    + + + + + + + + + + + + + + + + + + + + + + +

    +Static Public Attributes

    static const double kDefaultDoubleParamValue
     
    static const int kDefaultIntegerParamValue
     
    static const double kUnknownDoubleParamValue
     
    static const int kUnknownIntegerParamValue
     
    static const double kDefaultRelativeMipGap
     
    static const double kDefaultPrimalTolerance
     
    static const double kDefaultDualTolerance
     
    static const PresolveValues kDefaultPresolve
     
    static const IncrementalityValues kDefaultIncrementality
     
    +

    Member Enumeration Documentation

    + +

    ◆ DoubleParam

    + +
    +
    + +

    Enumeration of parameters that take continuous values.

    + + + + +
    Enumerator
    RELATIVE_MIP_GAP 

    Limit for relative MIP gap.

    +
    PRIMAL_TOLERANCE 

    Advanced usage: tolerance for primal feasibility of basic solutions.

    +
     This does not control the integer feasibility tolerance of integer
    + solutions for MIP or the tolerance used during presolve.
    +
    DUAL_TOLERANCE 

    Advanced usage: tolerance for dual feasibility of basic solutions.

    +
    + +

    Definition at line 1410 of file linear_solver.h.

    + +
    +
    + +

    ◆ IncrementalityValues

    + +
    +
    + +

    Advanced usage: Incrementality options.

    + + + +
    Enumerator
    INCREMENTALITY_OFF 

    Start solve from scratch.

    +
    INCREMENTALITY_ON 

    Reuse results from previous solve as much as the underlying solver allows.

    +
    + +

    Definition at line 1470 of file linear_solver.h.

    + +
    +
    + +

    ◆ IntegerParam

    + +
    +
    + +

    Enumeration of parameters that take integer or categorical values.

    + + + + + +
    Enumerator
    PRESOLVE 

    Advanced usage: presolve mode.

    +
    LP_ALGORITHM 

    Algorithm to solve linear programs.

    +
    INCREMENTALITY 

    Advanced usage: incrementality from one solve to the next.

    +
    SCALING 

    Advanced usage: enable or disable matrix scaling.

    +
    + +

    Definition at line 1431 of file linear_solver.h.

    + +
    +
    + +

    ◆ LpAlgorithmValues

    + +
    +
    + +

    LP algorithm to use.

    + + + + +
    Enumerator
    DUAL 
    PRIMAL 
    BARRIER 
    + +

    Definition at line 1461 of file linear_solver.h.

    + +
    +
    + +

    ◆ PresolveValues

    + +
    +
    + +

    For each categorical parameter, enumeration of possible values.

    + + + +
    Enumerator
    PRESOLVE_OFF 
    PRESOLVE_ON 
    + +

    Definition at line 1453 of file linear_solver.h.

    + +
    +
    + +

    ◆ ScalingValues

    + +
    +
    + +

    Advanced usage: Scaling options.

    + + + +
    Enumerator
    SCALING_OFF 

    Scaling is off.

    +
    SCALING_ON 

    Scaling is on.

    +
    + +

    Definition at line 1486 of file linear_solver.h.

    + +
    +
    +

    Constructor & Destructor Documentation

    + +

    ◆ MPSolverParameters()

    + +
    +
    + + + + + + + +
    operations_research::MPSolverParameters::MPSolverParameters ()
    +
    + +

    The constructor sets all parameters to their default value.

    + +
    +
    +

    Member Function Documentation

    + +

    ◆ GetDoubleParam()

    + +
    +
    + + + + + + + + +
    double operations_research::MPSolverParameters::GetDoubleParam (MPSolverParameters::DoubleParam param) const
    +
    + +

    Returns the value of a double parameter.

    + +
    +
    + +

    ◆ GetIntegerParam()

    + +
    +
    + + + + + + + + +
    int operations_research::MPSolverParameters::GetIntegerParam (MPSolverParameters::IntegerParam param) const
    +
    + +

    Returns the value of an integer parameter.

    + +
    +
    + +

    ◆ Reset()

    + +
    +
    + + + + + + + +
    void operations_research::MPSolverParameters::Reset ()
    +
    + +

    Sets all parameters to their default value.

    + +
    +
    + +

    ◆ ResetDoubleParam()

    + +
    +
    + + + + + + + + +
    void operations_research::MPSolverParameters::ResetDoubleParam (MPSolverParameters::DoubleParam param)
    +
    + +

    Sets a double parameter to its default value (default value defined in MPSolverParameters if it exists, otherwise the default value defined in the underlying solver).

    + +
    +
    + +

    ◆ ResetIntegerParam()

    + +
    +
    + + + + + + + + +
    void operations_research::MPSolverParameters::ResetIntegerParam (MPSolverParameters::IntegerParam param)
    +
    + +

    Sets an integer parameter to its default value (default value defined in MPSolverParameters if it exists, otherwise the default value defined in the underlying solver).

    + +
    +
    + +

    ◆ SetDoubleParam()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPSolverParameters::SetDoubleParam (MPSolverParameters::DoubleParam param,
    double value 
    )
    +
    + +

    Sets a double parameter to a specific value.

    + +
    +
    + +

    ◆ SetIntegerParam()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPSolverParameters::SetIntegerParam (MPSolverParameters::IntegerParam param,
    int value 
    )
    +
    + +

    Sets a integer parameter to a specific value.

    + +
    +
    +

    Member Data Documentation

    + +

    ◆ kDefaultDoubleParamValue

    + +
    +
    + + + + + +
    + + + + +
    const double operations_research::MPSolverParameters::kDefaultDoubleParamValue
    +
    +static
    +
    + +

    Definition at line 1496 of file linear_solver.h.

    + +
    +
    + +

    ◆ kDefaultDualTolerance

    + +
    +
    + + + + + +
    + + + + +
    const double operations_research::MPSolverParameters::kDefaultDualTolerance
    +
    +static
    +
    + +

    Definition at line 1514 of file linear_solver.h.

    + +
    +
    + +

    ◆ kDefaultIncrementality

    + +
    +
    + + + + + +
    + + + + +
    const IncrementalityValues operations_research::MPSolverParameters::kDefaultIncrementality
    +
    +static
    +
    + +

    Definition at line 1516 of file linear_solver.h.

    + +
    +
    + +

    ◆ kDefaultIntegerParamValue

    + +
    +
    + + + + + +
    + + + + +
    const int operations_research::MPSolverParameters::kDefaultIntegerParamValue
    +
    +static
    +
    + +

    Definition at line 1497 of file linear_solver.h.

    + +
    +
    + +

    ◆ kDefaultPresolve

    + +
    +
    + + + + + +
    + + + + +
    const PresolveValues operations_research::MPSolverParameters::kDefaultPresolve
    +
    +static
    +
    + +

    Definition at line 1515 of file linear_solver.h.

    + +
    +
    + +

    ◆ kDefaultPrimalTolerance

    + +
    +
    + + + + + +
    + + + + +
    const double operations_research::MPSolverParameters::kDefaultPrimalTolerance
    +
    +static
    +
    + +

    Definition at line 1513 of file linear_solver.h.

    + +
    +
    + +

    ◆ kDefaultRelativeMipGap

    + +
    +
    + + + + + +
    + + + + +
    const double operations_research::MPSolverParameters::kDefaultRelativeMipGap
    +
    +static
    +
    + +

    Definition at line 1512 of file linear_solver.h.

    + +
    +
    + +

    ◆ kUnknownDoubleParamValue

    + +
    +
    + + + + + +
    + + + + +
    const double operations_research::MPSolverParameters::kUnknownDoubleParamValue
    +
    +static
    +
    + +

    Definition at line 1502 of file linear_solver.h.

    + +
    +
    + +

    ◆ kUnknownIntegerParamValue

    + +
    +
    + + + + + +
    + + + + +
    const int operations_research::MPSolverParameters::kUnknownIntegerParamValue
    +
    +static
    +
    + +

    Definition at line 1503 of file linear_solver.h.

    + +
    +
    +
    The documentation for this class was generated from the following file: +
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPSolverParameters.js b/docs/cpp_linear/classoperations__research_1_1MPSolverParameters.js new file mode 100644 index 0000000000..e5c3563d48 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPSolverParameters.js @@ -0,0 +1,48 @@ +var classoperations__research_1_1MPSolverParameters = +[ + [ "DoubleParam", "classoperations__research_1_1MPSolverParameters.html#a3834b74a8764c1c971e10ce9ba2f265e", [ + [ "RELATIVE_MIP_GAP", "classoperations__research_1_1MPSolverParameters.html#a3834b74a8764c1c971e10ce9ba2f265eaca78b129ceb19e286889b3274bb8cab3", null ], + [ "PRIMAL_TOLERANCE", "classoperations__research_1_1MPSolverParameters.html#a3834b74a8764c1c971e10ce9ba2f265ea57e959f9c5ede1f3e683169609fb0488", null ], + [ "DUAL_TOLERANCE", "classoperations__research_1_1MPSolverParameters.html#a3834b74a8764c1c971e10ce9ba2f265ea313eaed42edf309599e71ca7563cce22", null ] + ] ], + [ "IncrementalityValues", "classoperations__research_1_1MPSolverParameters.html#ad58cb8cf98c288843ab0d1fd644f6116", [ + [ "INCREMENTALITY_OFF", "classoperations__research_1_1MPSolverParameters.html#ad58cb8cf98c288843ab0d1fd644f6116a27013e436bfe1d34ebb6da476c590eee", null ], + [ "INCREMENTALITY_ON", "classoperations__research_1_1MPSolverParameters.html#ad58cb8cf98c288843ab0d1fd644f6116aef000bbd88ef3ff2715d53a0e1dfbd37", null ] + ] ], + [ "IntegerParam", "classoperations__research_1_1MPSolverParameters.html#ac8f18a88f586c725cfffc613499926a0", [ + [ "PRESOLVE", "classoperations__research_1_1MPSolverParameters.html#ac8f18a88f586c725cfffc613499926a0a1f92ab900139fd7649eace59942f1e0f", null ], + [ "LP_ALGORITHM", "classoperations__research_1_1MPSolverParameters.html#ac8f18a88f586c725cfffc613499926a0a28abd1bbac3e861d5a74f841f8263e05", null ], + [ "INCREMENTALITY", "classoperations__research_1_1MPSolverParameters.html#ac8f18a88f586c725cfffc613499926a0a0ea983a7a805bc98c2cf9a1000c1ef95", null ], + [ "SCALING", "classoperations__research_1_1MPSolverParameters.html#ac8f18a88f586c725cfffc613499926a0ad5871c18d62c5e2e1e48a5420c13942f", null ] + ] ], + [ "LpAlgorithmValues", "classoperations__research_1_1MPSolverParameters.html#ab297405e6084c08a9058012361376762", [ + [ "DUAL", "classoperations__research_1_1MPSolverParameters.html#ab297405e6084c08a9058012361376762a2aca0e0bfd9807b5a938bb3bbc2bea07", null ], + [ "PRIMAL", "classoperations__research_1_1MPSolverParameters.html#ab297405e6084c08a9058012361376762a9fa228e5a51b8e22346b46d0f866e68d", null ], + [ "BARRIER", "classoperations__research_1_1MPSolverParameters.html#ab297405e6084c08a9058012361376762af55a23df7a5ec299bb9ca742ef9004ed", null ] + ] ], + [ "PresolveValues", "classoperations__research_1_1MPSolverParameters.html#a45d822ac67d10cc80b2f70fe6ec555a4", [ + [ "PRESOLVE_OFF", "classoperations__research_1_1MPSolverParameters.html#a45d822ac67d10cc80b2f70fe6ec555a4a6e658228fc28195fb00675d3dfec2c85", null ], + [ "PRESOLVE_ON", "classoperations__research_1_1MPSolverParameters.html#a45d822ac67d10cc80b2f70fe6ec555a4ac8e04ac3295af6c505a22757490bb018", null ] + ] ], + [ "ScalingValues", "classoperations__research_1_1MPSolverParameters.html#ae77fef975a893d6118d955ef2eb72ac9", [ + [ "SCALING_OFF", "classoperations__research_1_1MPSolverParameters.html#ae77fef975a893d6118d955ef2eb72ac9a41abc3f52f70490cd997aa8debace24b", null ], + [ "SCALING_ON", "classoperations__research_1_1MPSolverParameters.html#ae77fef975a893d6118d955ef2eb72ac9a33cf90a88928c32c5b56c9375d7dfd18", null ] + ] ], + [ "MPSolverParameters", "classoperations__research_1_1MPSolverParameters.html#accb1cea31a73bd0b09bb75882baa9e5f", null ], + [ "GetDoubleParam", "classoperations__research_1_1MPSolverParameters.html#a4423dd8b21b413522d8b91e4536cfa08", null ], + [ "GetIntegerParam", "classoperations__research_1_1MPSolverParameters.html#ae9e67424e09a35840b4fda2942b94c6f", null ], + [ "Reset", "classoperations__research_1_1MPSolverParameters.html#ada3cdf5254959f2807c3d27bb7e18e27", null ], + [ "ResetDoubleParam", "classoperations__research_1_1MPSolverParameters.html#a7bc16e5febd0604a3400572c0e35c490", null ], + [ "ResetIntegerParam", "classoperations__research_1_1MPSolverParameters.html#a100330795edeb8c1b12c7b8ff74611df", null ], + [ "SetDoubleParam", "classoperations__research_1_1MPSolverParameters.html#ab297ed394e3996ebb0cc43d931deaa16", null ], + [ "SetIntegerParam", "classoperations__research_1_1MPSolverParameters.html#afcfb05b6d356807556f65f1b845897a8", null ], + [ "kDefaultDoubleParamValue", "classoperations__research_1_1MPSolverParameters.html#af0e4fbb80499756bc3edf88fd495d7f7", null ], + [ "kDefaultDualTolerance", "classoperations__research_1_1MPSolverParameters.html#a15fd57d45c522be9c8340ba9d1244e3f", null ], + [ "kDefaultIncrementality", "classoperations__research_1_1MPSolverParameters.html#ac8d266a839e50968c11481a151f80ea9", null ], + [ "kDefaultIntegerParamValue", "classoperations__research_1_1MPSolverParameters.html#a9bac90a88459ac4dd9629beeada24a66", null ], + [ "kDefaultPresolve", "classoperations__research_1_1MPSolverParameters.html#afc36c21bad2607b8d7bcba63b60d8681", null ], + [ "kDefaultPrimalTolerance", "classoperations__research_1_1MPSolverParameters.html#a3369c0b857cf02ddf742acc5ef1feec5", null ], + [ "kDefaultRelativeMipGap", "classoperations__research_1_1MPSolverParameters.html#ad6b31b12f9e1944b355809efd56fec98", null ], + [ "kUnknownDoubleParamValue", "classoperations__research_1_1MPSolverParameters.html#a561c73d056eef04db4b4703abd972868", null ], + [ "kUnknownIntegerParamValue", "classoperations__research_1_1MPSolverParameters.html#a6c81985cecabbd5f054974d362db551a", null ] +]; \ No newline at end of file diff --git a/docs/cpp_linear/classoperations__research_1_1MPSosConstraint.html b/docs/cpp_linear/classoperations__research_1_1MPSosConstraint.html index 7fc5b12493..d48594cf18 100644 --- a/docs/cpp_linear/classoperations__research_1_1MPSosConstraint.html +++ b/docs/cpp_linear/classoperations__research_1_1MPSosConstraint.html @@ -56,12 +56,11 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1MPSosCons

    Detailed Description

    -

    Definition at line 937 of file linear_solver.pb.h.

    +

    Definition at line 932 of file linear_solver.pb.h.

    -

    Public Types

    typedef MPSosConstraint_Type Type
     nested types -------------------------------------------------— More...
     
    - @@ -114,7 +112,6 @@ Public Member Functions - @@ -129,7 +126,6 @@ Public Member Functions - @@ -144,7 +140,6 @@ Public Member Functions - @@ -220,9 +215,7 @@ Friends

    @@ -85,7 +84,6 @@ Public Member Functions

    void Swap (MPSosConstraint *other)
     
    MPSosConstraintNew () const final
     implements Message -------------------------------------------— More...
     
    MPSosConstraintNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    int var_index_size () const
     accessors ----------------------------------------------------— More...
     
    void clear_var_index ()
     
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_var_index ()
     
    int weight_size () const
     repeated double weight = 3; More...
     
    void clear_weight ()
     
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_weight ()
     
    bool has_type () const
     optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT]; More...
     
    void clear_type ()
     
    -

    nested types -------------------------------------------------—

    - -

    Definition at line 1051 of file linear_solver.pb.h.

    +

    Definition at line 1046 of file linear_solver.pb.h.

    @@ -311,7 +304,7 @@ Friends
    -

    Definition at line 944 of file linear_solver.pb.h.

    +

    Definition at line 939 of file linear_solver.pb.h.

    @@ -339,9 +332,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.MPSosConstraint.var_index)

    -

    Definition at line 2884 of file linear_solver.pb.h.

    +

    Definition at line 2867 of file linear_solver.pb.h.

    @@ -368,9 +360,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.MPSosConstraint.weight)

    -

    Definition at line 2914 of file linear_solver.pb.h.

    +

    Definition at line 2897 of file linear_solver.pb.h.

    @@ -447,7 +438,7 @@ Friends
    -

    Definition at line 2854 of file linear_solver.pb.h.

    +

    Definition at line 2837 of file linear_solver.pb.h.

    @@ -474,7 +465,7 @@ Friends
    -

    Definition at line 2873 of file linear_solver.pb.h.

    +

    Definition at line 2856 of file linear_solver.pb.h.

    @@ -501,7 +492,7 @@ Friends
    -

    Definition at line 2903 of file linear_solver.pb.h.

    +

    Definition at line 2886 of file linear_solver.pb.h.

    @@ -597,7 +588,7 @@ Friends
    -

    Definition at line 969 of file linear_solver.pb.h.

    +

    Definition at line 964 of file linear_solver.pb.h.

    @@ -624,7 +615,7 @@ Friends
    -

    Definition at line 1020 of file linear_solver.pb.h.

    +

    Definition at line 1015 of file linear_solver.pb.h.

    @@ -651,7 +642,7 @@ Friends
    -

    Definition at line 972 of file linear_solver.pb.h.

    +

    Definition at line 967 of file linear_solver.pb.h.

    @@ -703,7 +694,7 @@ Friends
    -

    Definition at line 975 of file linear_solver.pb.h.

    +

    Definition at line 970 of file linear_solver.pb.h.

    @@ -730,11 +721,7 @@ Friends
    -

    optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];

    -

    MPSosConstraint.

    -

    optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];

    - -

    Definition at line 2851 of file linear_solver.pb.h.

    +

    Definition at line 2834 of file linear_solver.pb.h.

    @@ -786,7 +773,7 @@ Friends
    -

    Definition at line 981 of file linear_solver.pb.h.

    +

    Definition at line 976 of file linear_solver.pb.h.

    @@ -934,7 +921,7 @@ Friends
    -

    Definition at line 965 of file linear_solver.pb.h.

    +

    Definition at line 960 of file linear_solver.pb.h.

    @@ -960,9 +947,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.MPSosConstraint.var_index)

    -

    Definition at line 2894 of file linear_solver.pb.h.

    +

    Definition at line 2877 of file linear_solver.pb.h.

    @@ -988,9 +974,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.MPSosConstraint.weight)

    -

    Definition at line 2924 of file linear_solver.pb.h.

    +

    Definition at line 2907 of file linear_solver.pb.h.

    @@ -1017,9 +1002,7 @@ Friends
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 995 of file linear_solver.pb.h.

    +

    Definition at line 990 of file linear_solver.pb.h.

    @@ -1047,7 +1030,7 @@ Friends
    -

    Definition at line 999 of file linear_solver.pb.h.

    +

    Definition at line 994 of file linear_solver.pb.h.

    @@ -1075,7 +1058,7 @@ Friends
    -

    Definition at line 949 of file linear_solver.pb.h.

    +

    Definition at line 944 of file linear_solver.pb.h.

    @@ -1103,7 +1086,7 @@ Friends
    -

    Definition at line 953 of file linear_solver.pb.h.

    +

    Definition at line 948 of file linear_solver.pb.h.

    @@ -1156,9 +1139,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPSosConstraint.type)

    -

    Definition at line 2862 of file linear_solver.pb.h.

    +

    Definition at line 2845 of file linear_solver.pb.h.

    @@ -1195,9 +1177,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPSosConstraint.var_index)

    -

    Definition at line 2880 of file linear_solver.pb.h.

    +

    Definition at line 2863 of file linear_solver.pb.h.

    @@ -1234,9 +1215,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPSosConstraint.weight)

    -

    Definition at line 2910 of file linear_solver.pb.h.

    +

    Definition at line 2893 of file linear_solver.pb.h.

    @@ -1280,9 +1260,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPSosConstraint.type)

    -

    Definition at line 2858 of file linear_solver.pb.h.

    +

    Definition at line 2841 of file linear_solver.pb.h.

    @@ -1309,7 +1288,7 @@ Friends
    -

    Definition at line 1066 of file linear_solver.pb.h.

    +

    Definition at line 1061 of file linear_solver.pb.h.

    @@ -1337,7 +1316,7 @@ Friends
    -

    Definition at line 1056 of file linear_solver.pb.h.

    +

    Definition at line 1051 of file linear_solver.pb.h.

    @@ -1367,7 +1346,7 @@ template<typename T >
    -

    Definition at line 1070 of file linear_solver.pb.h.

    +

    Definition at line 1065 of file linear_solver.pb.h.

    @@ -1405,7 +1384,7 @@ template<typename T >
    -

    Definition at line 1076 of file linear_solver.pb.h.

    +

    Definition at line 1071 of file linear_solver.pb.h.

    @@ -1432,7 +1411,7 @@ template<typename T >
    -

    Definition at line 962 of file linear_solver.pb.h.

    +

    Definition at line 957 of file linear_solver.pb.h.

    @@ -1459,9 +1438,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_get:operations_research.MPSosConstraint.var_index)

    -

    Definition at line 2876 of file linear_solver.pb.h.

    +

    Definition at line 2859 of file linear_solver.pb.h.

    @@ -1487,9 +1465,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_list:operations_research.MPSosConstraint.var_index)

    -

    Definition at line 2889 of file linear_solver.pb.h.

    +

    Definition at line 2872 of file linear_solver.pb.h.

    @@ -1516,10 +1493,7 @@ template<typename T >
    -

    accessors ----------------------------------------------------—

    -

    repeated int32 var_index = 2;

    - -

    Definition at line 2870 of file linear_solver.pb.h.

    +

    Definition at line 2853 of file linear_solver.pb.h.

    @@ -1546,9 +1520,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_get:operations_research.MPSosConstraint.weight)

    -

    Definition at line 2906 of file linear_solver.pb.h.

    +

    Definition at line 2889 of file linear_solver.pb.h.

    @@ -1574,9 +1547,8 @@ template<typename T >
    -

    @protoc_insertion_point(field_list:operations_research.MPSosConstraint.weight)

    -

    Definition at line 2919 of file linear_solver.pb.h.

    +

    Definition at line 2902 of file linear_solver.pb.h.

    @@ -1603,9 +1575,7 @@ template<typename T >
    -

    repeated double weight = 3;

    - -

    Definition at line 2900 of file linear_solver.pb.h.

    +

    Definition at line 2883 of file linear_solver.pb.h.

    @@ -1630,7 +1600,7 @@ template<typename T >
    -

    Definition at line 1027 of file linear_solver.pb.h.

    +

    Definition at line 1022 of file linear_solver.pb.h.

    @@ -1654,7 +1624,7 @@ template<typename T >
    -

    Definition at line 1124 of file linear_solver.pb.h.

    +

    Definition at line 1119 of file linear_solver.pb.h.

    @@ -1692,7 +1662,7 @@ template<typename T >
    -

    Definition at line 989 of file linear_solver.pb.h.

    +

    Definition at line 984 of file linear_solver.pb.h.

    @@ -1717,7 +1687,7 @@ template<typename T >
    Initial value:
    =
    4
    -

    Definition at line 985 of file linear_solver.pb.h.

    +

    Definition at line 980 of file linear_solver.pb.h.

    @@ -1741,7 +1711,7 @@ template<typename T >
    -

    Definition at line 1110 of file linear_solver.pb.h.

    +

    Definition at line 1105 of file linear_solver.pb.h.

    @@ -1765,7 +1735,7 @@ template<typename T >
    -

    Definition at line 1086 of file linear_solver.pb.h.

    +

    Definition at line 1081 of file linear_solver.pb.h.

    @@ -1789,7 +1759,7 @@ template<typename T >
    -

    Definition at line 1098 of file linear_solver.pb.h.

    +

    Definition at line 1093 of file linear_solver.pb.h.

    @@ -1813,7 +1783,7 @@ template<typename T >
    Initial value: -

    Definition at line 1052 of file linear_solver.pb.h.

    +

    Definition at line 1047 of file linear_solver.pb.h.

    @@ -1837,7 +1807,7 @@ template<typename T >
    Initial value: -

    Definition at line 1054 of file linear_solver.pb.h.

    +

    Definition at line 1049 of file linear_solver.pb.h.

    @@ -1861,7 +1831,7 @@ template<typename T >
    Initial value: -

    Definition at line 1063 of file linear_solver.pb.h.

    +

    Definition at line 1058 of file linear_solver.pb.h.

    @@ -1885,7 +1855,7 @@ template<typename T >
    Initial value: -

    Definition at line 1061 of file linear_solver.pb.h.

    +

    Definition at line 1056 of file linear_solver.pb.h.

    @@ -1909,7 +1879,7 @@ template<typename T >
    Initial value: -

    Definition at line 1059 of file linear_solver.pb.h.

    +

    Definition at line 1054 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/classoperations__research_1_1MPVariable-members.html b/docs/cpp_linear/classoperations__research_1_1MPVariable-members.html new file mode 100644 index 0000000000..543b62ee2a --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPVariable-members.html @@ -0,0 +1,93 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    +
    +
    operations_research::MPVariable Member List
    +
    +
    + +

    This is the complete list of members for operations_research::MPVariable, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    basis_status() constoperations_research::MPVariable
    BopInterface classoperations_research::MPVariablefriend
    branching_priority() constoperations_research::MPVariableinline
    CBCInterface classoperations_research::MPVariablefriend
    CLPInterface classoperations_research::MPVariablefriend
    CplexInterface classoperations_research::MPVariablefriend
    GLOPInterface classoperations_research::MPVariablefriend
    GLPKInterface classoperations_research::MPVariablefriend
    GurobiInterface classoperations_research::MPVariablefriend
    index() constoperations_research::MPVariableinline
    integer() constoperations_research::MPVariableinline
    KnapsackInterface classoperations_research::MPVariablefriend
    lb() constoperations_research::MPVariableinline
    MPSolver classoperations_research::MPVariablefriend
    MPSolverInterface classoperations_research::MPVariablefriend
    MPVariable(int index, double lb, double ub, bool integer, const std::string &name, MPSolverInterface *const interface_in)operations_research::MPVariableinlineprotected
    MPVariableSolutionValueTest classoperations_research::MPVariablefriend
    name() constoperations_research::MPVariableinline
    reduced_cost() constoperations_research::MPVariable
    SatInterface classoperations_research::MPVariablefriend
    SCIPInterface classoperations_research::MPVariablefriend
    set_reduced_cost(double reduced_cost)operations_research::MPVariableinlineprotected
    set_solution_value(double value)operations_research::MPVariableinlineprotected
    SetBounds(double lb, double ub)operations_research::MPVariable
    SetBranchingPriority(int priority)operations_research::MPVariable
    SetInteger(bool integer)operations_research::MPVariable
    SetLB(double lb)operations_research::MPVariableinline
    SetUB(double ub)operations_research::MPVariableinline
    SLMInterface classoperations_research::MPVariablefriend
    solution_value() constoperations_research::MPVariable
    ub() constoperations_research::MPVariableinline
    unrounded_solution_value() constoperations_research::MPVariable
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPVariable.html b/docs/cpp_linear/classoperations__research_1_1MPVariable.html new file mode 100644 index 0000000000..073fbb65b6 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPVariable.html @@ -0,0 +1,998 @@ + + + + OR-Tools + + + + + + + + + + +
    + + +
    +
    + +
    +
    +
    + +
    +
    + +
    +
    operations_research::MPVariable Class Reference
    +
    +
    +

    Detailed Description

    +

    The class for variables of a Mathematical Programming (MP) model.

    + +

    Definition at line 1066 of file linear_solver.h.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

    const std::string & name () const
     Returns the name of the variable. More...
     
    void SetInteger (bool integer)
     Sets the integrality requirement of the variable. More...
     
    bool integer () const
     Returns the integrality requirement of the variable. More...
     
    double solution_value () const
     Returns the value of the variable in the current solution. More...
     
    int index () const
     Returns the index of the variable in the MPSolver::variables_. More...
     
    double lb () const
     Returns the lower bound. More...
     
    double ub () const
     Returns the upper bound. More...
     
    void SetLB (double lb)
     Sets the lower bound. More...
     
    void SetUB (double ub)
     Sets the upper bound. More...
     
    void SetBounds (double lb, double ub)
     Sets both the lower and upper bounds. More...
     
    double unrounded_solution_value () const
     Advanced usage: unrounded solution value. More...
     
    double reduced_cost () const
     Advanced usage: returns the reduced cost of the variable in the current solution (only available for continuous problems). More...
     
    MPSolver::BasisStatus basis_status () const
     Advanced usage: returns the basis status of the variable in the current solution (only available for continuous problems). More...
     
    int branching_priority () const
     Advanced usage: Certain MIP solvers (e.g. More...
     
    void SetBranchingPriority (int priority)
     
    + + + + + + + +

    +Protected Member Functions

     MPVariable (int index, double lb, double ub, bool integer, const std::string &name, MPSolverInterface *const interface_in)
     
    void set_solution_value (double value)
     
    void set_reduced_cost (double reduced_cost)
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Friends

    class MPSolver
     
    class MPSolverInterface
     
    class CBCInterface
     
    class CLPInterface
     
    class GLPKInterface
     
    class SCIPInterface
     
    class SLMInterface
     
    class GurobiInterface
     
    class CplexInterface
     
    class GLOPInterface
     
    class MPVariableSolutionValueTest
     
    class BopInterface
     
    class SatInterface
     
    class KnapsackInterface
     
    +

    Constructor & Destructor Documentation

    + +

    ◆ MPVariable()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    operations_research::MPVariable::MPVariable (int index,
    double lb,
    double ub,
    bool integer,
    const std::string & name,
    MPSolverInterface *const interface_in 
    )
    +
    +inlineprotected
    +
    + +

    Definition at line 1174 of file linear_solver.h.

    + +
    +
    +

    Member Function Documentation

    + +

    ◆ basis_status()

    + +
    +
    + + + + + + + +
    MPSolver::BasisStatus operations_research::MPVariable::basis_status () const
    +
    + +

    Advanced usage: returns the basis status of the variable in the current solution (only available for continuous problems).

    +
    See also
    MPSolver::BasisStatus.
    + +
    +
    + +

    ◆ branching_priority()

    + +
    +
    + + + + + +
    + + + + + + + +
    int operations_research::MPVariable::branching_priority () const
    +
    +inline
    +
    + +

    Advanced usage: Certain MIP solvers (e.g.

    +

    Gurobi or SCIP) allow you to set a per-variable priority for determining which variable to branch on.

    +

    A value of 0 is treated as default, and is equivalent to not setting the branching priority. The solver looks first to branch on fractional variables in higher priority levels. As of 2019-05, only Gurobi and SCIP support setting branching priority; all other solvers will simply ignore this annotation.

    + +

    Definition at line 1152 of file linear_solver.h.

    + +
    +
    + +

    ◆ index()

    + +
    +
    + + + + + +
    + + + + + + + +
    int operations_research::MPVariable::index () const
    +
    +inline
    +
    + +

    Returns the index of the variable in the MPSolver::variables_.

    + +

    Definition at line 1095 of file linear_solver.h.

    + +
    +
    + +

    ◆ integer()

    + +
    +
    + + + + + +
    + + + + + + + +
    bool operations_research::MPVariable::integer () const
    +
    +inline
    +
    + +

    Returns the integrality requirement of the variable.

    + +

    Definition at line 1081 of file linear_solver.h.

    + +
    +
    + +

    ◆ lb()

    + +
    +
    + + + + + +
    + + + + + + + +
    double operations_research::MPVariable::lb () const
    +
    +inline
    +
    + +

    Returns the lower bound.

    + +

    Definition at line 1100 of file linear_solver.h.

    + +
    +
    + +

    ◆ name()

    + +
    +
    + + + + + +
    + + + + + + + +
    const std::string& operations_research::MPVariable::name () const
    +
    +inline
    +
    + +

    Returns the name of the variable.

    + +

    Definition at line 1071 of file linear_solver.h.

    + +
    +
    + +

    ◆ reduced_cost()

    + +
    +
    + + + + + + + +
    double operations_research::MPVariable::reduced_cost () const
    +
    + +

    Advanced usage: returns the reduced cost of the variable in the current solution (only available for continuous problems).

    + +
    +
    + +

    ◆ set_reduced_cost()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPVariable::set_reduced_cost (double reduced_cost)
    +
    +inlineprotected
    +
    + +

    Definition at line 1186 of file linear_solver.h.

    + +
    +
    + +

    ◆ set_solution_value()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPVariable::set_solution_value (double value)
    +
    +inlineprotected
    +
    + +

    Definition at line 1185 of file linear_solver.h.

    + +
    +
    + +

    ◆ SetBounds()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void operations_research::MPVariable::SetBounds (double lb,
    double ub 
    )
    +
    + +

    Sets both the lower and upper bounds.

    + +
    +
    + +

    ◆ SetBranchingPriority()

    + +
    +
    + + + + + + + + +
    void operations_research::MPVariable::SetBranchingPriority (int priority)
    +
    + +
    +
    + +

    ◆ SetInteger()

    + +
    +
    + + + + + + + + +
    void operations_research::MPVariable::SetInteger (bool integer)
    +
    + +

    Sets the integrality requirement of the variable.

    + +
    +
    + +

    ◆ SetLB()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPVariable::SetLB (double lb)
    +
    +inline
    +
    + +

    Sets the lower bound.

    + +

    Definition at line 1110 of file linear_solver.h.

    + +
    +
    + +

    ◆ SetUB()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void operations_research::MPVariable::SetUB (double ub)
    +
    +inline
    +
    + +

    Sets the upper bound.

    + +

    Definition at line 1114 of file linear_solver.h.

    + +
    +
    + +

    ◆ solution_value()

    + +
    +
    + + + + + + + +
    double operations_research::MPVariable::solution_value () const
    +
    + +

    Returns the value of the variable in the current solution.

    +

    If the variable is integer, then the value will always be an integer (the underlying solver handles floating-point values only, but this function automatically rounds it to the nearest integer; see: man 3 round).

    + +
    +
    + +

    ◆ ub()

    + +
    +
    + + + + + +
    + + + + + + + +
    double operations_research::MPVariable::ub () const
    +
    +inline
    +
    + +

    Returns the upper bound.

    + +

    Definition at line 1105 of file linear_solver.h.

    + +
    +
    + +

    ◆ unrounded_solution_value()

    + +
    +
    + + + + + + + +
    double operations_research::MPVariable::unrounded_solution_value () const
    +
    + +

    Advanced usage: unrounded solution value.

    +

    The returned value won't be rounded to the nearest integer even if the variable is integer.

    + +
    +
    +

    Friends And Related Function Documentation

    + +

    ◆ BopInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class BopInterface
    +
    +friend
    +
    + +

    Definition at line 1167 of file linear_solver.h.

    + +
    +
    + +

    ◆ CBCInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CBCInterface
    +
    +friend
    +
    + +

    Definition at line 1158 of file linear_solver.h.

    + +
    +
    + +

    ◆ CLPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CLPInterface
    +
    +friend
    +
    + +

    Definition at line 1159 of file linear_solver.h.

    + +
    +
    + +

    ◆ CplexInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class CplexInterface
    +
    +friend
    +
    + +

    Definition at line 1164 of file linear_solver.h.

    + +
    +
    + +

    ◆ GLOPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GLOPInterface
    +
    +friend
    +
    + +

    Definition at line 1165 of file linear_solver.h.

    + +
    +
    + +

    ◆ GLPKInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GLPKInterface
    +
    +friend
    +
    + +

    Definition at line 1160 of file linear_solver.h.

    + +
    +
    + +

    ◆ GurobiInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class GurobiInterface
    +
    +friend
    +
    + +

    Definition at line 1163 of file linear_solver.h.

    + +
    +
    + +

    ◆ KnapsackInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class KnapsackInterface
    +
    +friend
    +
    + +

    Definition at line 1169 of file linear_solver.h.

    + +
    +
    + +

    ◆ MPSolver

    + +
    +
    + + + + + +
    + + + + +
    friend class MPSolver
    +
    +friend
    +
    + +

    Definition at line 1156 of file linear_solver.h.

    + +
    +
    + +

    ◆ MPSolverInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class MPSolverInterface
    +
    +friend
    +
    + +

    Definition at line 1157 of file linear_solver.h.

    + +
    +
    + +

    ◆ MPVariableSolutionValueTest

    + +
    +
    + + + + + +
    + + + + +
    friend class MPVariableSolutionValueTest
    +
    +friend
    +
    + +

    Definition at line 1166 of file linear_solver.h.

    + +
    +
    + +

    ◆ SatInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SatInterface
    +
    +friend
    +
    + +

    Definition at line 1168 of file linear_solver.h.

    + +
    +
    + +

    ◆ SCIPInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SCIPInterface
    +
    +friend
    +
    + +

    Definition at line 1161 of file linear_solver.h.

    + +
    +
    + +

    ◆ SLMInterface

    + +
    +
    + + + + + +
    + + + + +
    friend class SLMInterface
    +
    +friend
    +
    + +

    Definition at line 1162 of file linear_solver.h.

    + +
    +
    +
    The documentation for this class was generated from the following file: +
    +
    + + + + diff --git a/docs/cpp_linear/classoperations__research_1_1MPVariable.js b/docs/cpp_linear/classoperations__research_1_1MPVariable.js new file mode 100644 index 0000000000..c956920003 --- /dev/null +++ b/docs/cpp_linear/classoperations__research_1_1MPVariable.js @@ -0,0 +1,35 @@ +var classoperations__research_1_1MPVariable = +[ + [ "MPVariable", "classoperations__research_1_1MPVariable.html#abba28daa7e558932c40cf1a8ecb30194", null ], + [ "basis_status", "classoperations__research_1_1MPVariable.html#abb491e237ace37cb5240cde3c3ff2958", null ], + [ "branching_priority", "classoperations__research_1_1MPVariable.html#a6d0e4798441493244b31f29ee5ac26ad", null ], + [ "index", "classoperations__research_1_1MPVariable.html#ac9676264a15bac7aae8db95344903b1f", null ], + [ "integer", "classoperations__research_1_1MPVariable.html#a044841d06c6de76db6f4978bf57898ec", null ], + [ "lb", "classoperations__research_1_1MPVariable.html#a0d581a8129e4fc9779ee0b1172967563", null ], + [ "name", "classoperations__research_1_1MPVariable.html#a1d74db2a526fd2d8b4e11a4ed4ebf07d", null ], + [ "reduced_cost", "classoperations__research_1_1MPVariable.html#a0001ce8a3240bd00b49557594a809cdb", null ], + [ "set_reduced_cost", "classoperations__research_1_1MPVariable.html#a73eaa62d668195e9d894548d84f75fdb", null ], + [ "set_solution_value", "classoperations__research_1_1MPVariable.html#a8f6294a83ae2d4bb0e6000981f8651a5", null ], + [ "SetBounds", "classoperations__research_1_1MPVariable.html#a5608a23aad7a48ea52ba3869b557d036", null ], + [ "SetBranchingPriority", "classoperations__research_1_1MPVariable.html#a074f5b3c88658b91bd372a372db63627", null ], + [ "SetInteger", "classoperations__research_1_1MPVariable.html#a02131c51847247fc3f620e4ccb439470", null ], + [ "SetLB", "classoperations__research_1_1MPVariable.html#a0d23a28f31a3b667f21034551666430e", null ], + [ "SetUB", "classoperations__research_1_1MPVariable.html#a42590823a1b3343d0459cc7c564b9d69", null ], + [ "solution_value", "classoperations__research_1_1MPVariable.html#a9c7aabb1c218e733e719ce2966939586", null ], + [ "ub", "classoperations__research_1_1MPVariable.html#a1eeda5bea30b1e1f354c2919110e2ff9", null ], + [ "unrounded_solution_value", "classoperations__research_1_1MPVariable.html#af25c3940fd37705e63340d9269896dc0", null ], + [ "BopInterface", "classoperations__research_1_1MPVariable.html#a7383308e6b9b63b18196798db342ce8a", null ], + [ "CBCInterface", "classoperations__research_1_1MPVariable.html#af5a7cf0c655f37c0b388a2ddcf32ac3e", null ], + [ "CLPInterface", "classoperations__research_1_1MPVariable.html#a60944ecdcad88cfb4d4d32feea70c9b5", null ], + [ "CplexInterface", "classoperations__research_1_1MPVariable.html#ae7cbd08108e1636184f28c1a71c42393", null ], + [ "GLOPInterface", "classoperations__research_1_1MPVariable.html#a6c754b527a347994b06eeb49a09ac222", null ], + [ "GLPKInterface", "classoperations__research_1_1MPVariable.html#ae1a3e0a695903c8e6effd524a7f92784", null ], + [ "GurobiInterface", "classoperations__research_1_1MPVariable.html#ac28a56eeedb62d070578a9231f1875ea", null ], + [ "KnapsackInterface", "classoperations__research_1_1MPVariable.html#aee1ddf25e86286c16face31551751bda", null ], + [ "MPSolver", "classoperations__research_1_1MPVariable.html#ac2c01b4de8f7670e37daa7d42b804dd4", null ], + [ "MPSolverInterface", "classoperations__research_1_1MPVariable.html#ac0aea0786e75adbb2d24c41c15e7456c", null ], + [ "MPVariableSolutionValueTest", "classoperations__research_1_1MPVariable.html#a8844020cc1376123531cd53c831acdef", null ], + [ "SatInterface", "classoperations__research_1_1MPVariable.html#acbd4413b1370baca9c45aecb0cb8ebd2", null ], + [ "SCIPInterface", "classoperations__research_1_1MPVariable.html#a236f9752f4df4c5134617330a040ec8a", null ], + [ "SLMInterface", "classoperations__research_1_1MPVariable.html#a5c083b37243075a00bf909840dc7c933", null ] +]; \ No newline at end of file diff --git a/docs/cpp_linear/classoperations__research_1_1MPVariableProto.html b/docs/cpp_linear/classoperations__research_1_1MPVariableProto.html index 50959126b8..97ee4392b1 100644 --- a/docs/cpp_linear/classoperations__research_1_1MPVariableProto.html +++ b/docs/cpp_linear/classoperations__research_1_1MPVariableProto.html @@ -55,7 +55,7 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1MPVariabl

    Detailed Description

    -

    Definition at line 227 of file linear_solver.pb.h.

    +

    Definition at line 226 of file linear_solver.pb.h.

    @@ -78,7 +78,6 @@ Public Member Functions - @@ -107,7 +106,6 @@ Public Member Functions - @@ -128,7 +126,6 @@ Public Member Functions - @@ -137,7 +134,6 @@ Public Member Functions - @@ -146,7 +142,6 @@ Public Member Functions - @@ -155,7 +150,6 @@ Public Member Functions - @@ -164,7 +158,6 @@ Public Member Functions - @@ -299,7 +292,7 @@ Friends

    Public Member Functions

    void Swap (MPVariableProto *other)
     
    MPVariableProtoNew () const final
     implements Message -------------------------------------------— More...
     
    MPVariableProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    bool has_name () const
     nested types -------------------------------------------------— More...
     
    void clear_name ()
     
    void set_allocated_name (std::string *name)
     
    bool has_objective_coefficient () const
     optional double objective_coefficient = 3 [default = 0]; More...
     
    void clear_objective_coefficient ()
     
    void set_objective_coefficient (double value)
     
    bool has_is_integer () const
     optional bool is_integer = 4 [default = false]; More...
     
    void clear_is_integer ()
     
    void set_is_integer (bool value)
     
    bool has_branching_priority () const
     optional int32 branching_priority = 6 [default = 0]; More...
     
    void clear_branching_priority ()
     
    void set_branching_priority (::PROTOBUF_NAMESPACE_ID::int32 value)
     
    bool has_lower_bound () const
     optional double lower_bound = 1 [default = -inf]; More...
     
    void clear_lower_bound ()
     
    void set_lower_bound (double value)
     
    bool has_upper_bound () const
     optional double upper_bound = 2 [default = inf]; More...
     
    void clear_upper_bound ()
     
    -

    Definition at line 234 of file linear_solver.pb.h.

    +

    Definition at line 233 of file linear_solver.pb.h.

    @@ -326,9 +319,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPVariableProto.branching_priority)

    -

    Definition at line 2414 of file linear_solver.pb.h.

    +

    Definition at line 2401 of file linear_solver.pb.h.

    @@ -405,7 +397,7 @@ Friends
    -

    Definition at line 2410 of file linear_solver.pb.h.

    +

    Definition at line 2397 of file linear_solver.pb.h.

    @@ -432,7 +424,7 @@ Friends
    -

    Definition at line 2334 of file linear_solver.pb.h.

    +

    Definition at line 2321 of file linear_solver.pb.h.

    @@ -459,7 +451,7 @@ Friends
    -

    Definition at line 2280 of file linear_solver.pb.h.

    +

    Definition at line 2267 of file linear_solver.pb.h.

    @@ -486,7 +478,7 @@ Friends
    -

    Definition at line 2352 of file linear_solver.pb.h.

    +

    Definition at line 2339 of file linear_solver.pb.h.

    @@ -513,7 +505,7 @@ Friends
    -

    Definition at line 2316 of file linear_solver.pb.h.

    +

    Definition at line 2303 of file linear_solver.pb.h.

    @@ -540,7 +532,7 @@ Friends
    -

    Definition at line 2298 of file linear_solver.pb.h.

    +

    Definition at line 2285 of file linear_solver.pb.h.

    @@ -636,7 +628,7 @@ Friends
    -

    Definition at line 259 of file linear_solver.pb.h.

    +

    Definition at line 258 of file linear_solver.pb.h.

    @@ -663,7 +655,7 @@ Friends
    -

    Definition at line 310 of file linear_solver.pb.h.

    +

    Definition at line 309 of file linear_solver.pb.h.

    @@ -690,7 +682,7 @@ Friends
    -

    Definition at line 262 of file linear_solver.pb.h.

    +

    Definition at line 261 of file linear_solver.pb.h.

    @@ -742,7 +734,7 @@ Friends
    -

    Definition at line 265 of file linear_solver.pb.h.

    +

    Definition at line 264 of file linear_solver.pb.h.

    @@ -769,9 +761,7 @@ Friends
    -

    optional int32 branching_priority = 6 [default = 0];

    - -

    Definition at line 2407 of file linear_solver.pb.h.

    +

    Definition at line 2394 of file linear_solver.pb.h.

    @@ -798,9 +788,7 @@ Friends
    -

    optional bool is_integer = 4 [default = false];

    - -

    Definition at line 2331 of file linear_solver.pb.h.

    +

    Definition at line 2318 of file linear_solver.pb.h.

    @@ -827,11 +815,7 @@ Friends
    -

    optional double lower_bound = 1 [default = -inf];

    -

    MPVariableProto.

    -

    optional double lower_bound = 1 [default = -inf];

    - -

    Definition at line 2277 of file linear_solver.pb.h.

    +

    Definition at line 2264 of file linear_solver.pb.h.

    @@ -858,11 +842,7 @@ Friends
    -

    nested types -------------------------------------------------—

    -

    optional string name = 5 [default = ""];

    -

    accessors ----------------------------------------------------— optional string name = 5 [default = ""];

    - -

    Definition at line 2349 of file linear_solver.pb.h.

    +

    Definition at line 2336 of file linear_solver.pb.h.

    @@ -889,9 +869,7 @@ Friends
    -

    optional double objective_coefficient = 3 [default = 0];

    - -

    Definition at line 2313 of file linear_solver.pb.h.

    +

    Definition at line 2300 of file linear_solver.pb.h.

    @@ -918,9 +896,7 @@ Friends
    -

    optional double upper_bound = 2 [default = inf];

    - -

    Definition at line 2295 of file linear_solver.pb.h.

    +

    Definition at line 2282 of file linear_solver.pb.h.

    @@ -972,7 +948,7 @@ Friends
    -

    Definition at line 271 of file linear_solver.pb.h.

    +

    Definition at line 270 of file linear_solver.pb.h.

    @@ -1024,9 +1000,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPVariableProto.is_integer)

    -

    Definition at line 2338 of file linear_solver.pb.h.

    +

    Definition at line 2325 of file linear_solver.pb.h.

    @@ -1077,9 +1052,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPVariableProto.lower_bound)

    -

    Definition at line 2284 of file linear_solver.pb.h.

    +

    Definition at line 2271 of file linear_solver.pb.h.

    @@ -1175,9 +1149,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable:operations_research.MPVariableProto.name)

    -

    Definition at line 2383 of file linear_solver.pb.h.

    +

    Definition at line 2370 of file linear_solver.pb.h.

    @@ -1204,7 +1177,7 @@ Friends
    -

    Definition at line 255 of file linear_solver.pb.h.

    +

    Definition at line 254 of file linear_solver.pb.h.

    @@ -1230,9 +1203,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPVariableProto.name)

    -

    Definition at line 2356 of file linear_solver.pb.h.

    +

    Definition at line 2343 of file linear_solver.pb.h.

    @@ -1259,9 +1231,7 @@ Friends
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 285 of file linear_solver.pb.h.

    +

    Definition at line 284 of file linear_solver.pb.h.

    @@ -1289,7 +1259,7 @@ Friends
    -

    Definition at line 289 of file linear_solver.pb.h.

    +

    Definition at line 288 of file linear_solver.pb.h.

    @@ -1315,9 +1285,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPVariableProto.objective_coefficient)

    -

    Definition at line 2320 of file linear_solver.pb.h.

    +

    Definition at line 2307 of file linear_solver.pb.h.

    @@ -1345,7 +1314,7 @@ Friends
    -

    Definition at line 239 of file linear_solver.pb.h.

    +

    Definition at line 238 of file linear_solver.pb.h.

    @@ -1373,7 +1342,7 @@ Friends
    -

    Definition at line 243 of file linear_solver.pb.h.

    +

    Definition at line 242 of file linear_solver.pb.h.

    @@ -1399,9 +1368,8 @@ Friends
    -

    @protoc_insertion_point(field_release:operations_research.MPVariableProto.name)

    -

    Definition at line 2388 of file linear_solver.pb.h.

    +

    Definition at line 2375 of file linear_solver.pb.h.

    @@ -1454,9 +1422,8 @@ Friends
    -

    @protoc_insertion_point(field_set_allocated:operations_research.MPVariableProto.name)

    -

    Definition at line 2396 of file linear_solver.pb.h.

    +

    Definition at line 2383 of file linear_solver.pb.h.

    @@ -1483,9 +1450,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPVariableProto.branching_priority)

    -

    Definition at line 2418 of file linear_solver.pb.h.

    +

    Definition at line 2405 of file linear_solver.pb.h.

    @@ -1512,9 +1478,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPVariableProto.is_integer)

    -

    Definition at line 2342 of file linear_solver.pb.h.

    +

    Definition at line 2329 of file linear_solver.pb.h.

    @@ -1541,9 +1506,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPVariableProto.lower_bound)

    -

    Definition at line 2288 of file linear_solver.pb.h.

    +

    Definition at line 2275 of file linear_solver.pb.h.

    @@ -1570,9 +1534,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPVariableProto.name)

    -

    Definition at line 2360 of file linear_solver.pb.h.

    +

    Definition at line 2347 of file linear_solver.pb.h.

    @@ -1599,9 +1562,8 @@ Friends
    -

    @protoc_insertion_point(field_set_rvalue:operations_research.MPVariableProto.name)

    -

    Definition at line 2365 of file linear_solver.pb.h.

    +

    Definition at line 2352 of file linear_solver.pb.h.

    @@ -1628,9 +1590,8 @@ Friends
    -

    @protoc_insertion_point(field_set_char:operations_research.MPVariableProto.name)

    -

    Definition at line 2371 of file linear_solver.pb.h.

    +

    Definition at line 2358 of file linear_solver.pb.h.

    @@ -1667,9 +1628,8 @@ Friends
    -

    @protoc_insertion_point(field_set_pointer:operations_research.MPVariableProto.name)

    -

    Definition at line 2377 of file linear_solver.pb.h.

    +

    Definition at line 2364 of file linear_solver.pb.h.

    @@ -1696,9 +1656,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPVariableProto.objective_coefficient)

    -

    Definition at line 2324 of file linear_solver.pb.h.

    +

    Definition at line 2311 of file linear_solver.pb.h.

    @@ -1725,9 +1684,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.MPVariableProto.upper_bound)

    -

    Definition at line 2306 of file linear_solver.pb.h.

    +

    Definition at line 2293 of file linear_solver.pb.h.

    @@ -1772,7 +1730,7 @@ Friends
    -

    Definition at line 252 of file linear_solver.pb.h.

    +

    Definition at line 251 of file linear_solver.pb.h.

    @@ -1798,9 +1756,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.MPVariableProto.upper_bound)

    -

    Definition at line 2302 of file linear_solver.pb.h.

    +

    Definition at line 2289 of file linear_solver.pb.h.

    @@ -1825,7 +1782,7 @@ Friends
    -

    Definition at line 317 of file linear_solver.pb.h.

    +

    Definition at line 316 of file linear_solver.pb.h.

    @@ -1849,7 +1806,7 @@ Friends
    -

    Definition at line 404 of file linear_solver.pb.h.

    +

    Definition at line 403 of file linear_solver.pb.h.

    @@ -1887,7 +1844,7 @@ Friends
    -

    Definition at line 279 of file linear_solver.pb.h.

    +

    Definition at line 278 of file linear_solver.pb.h.

    @@ -1912,7 +1869,7 @@ Friends
    -

    Definition at line 373 of file linear_solver.pb.h.

    +

    Definition at line 372 of file linear_solver.pb.h.

    @@ -1936,7 +1893,7 @@ Friends
    Initial value:
    =
    0
    -

    Definition at line 275 of file linear_solver.pb.h.

    +

    Definition at line 274 of file linear_solver.pb.h.

    @@ -1960,7 +1917,7 @@ Friends
    -

    Definition at line 366 of file linear_solver.pb.h.

    +

    Definition at line 365 of file linear_solver.pb.h.

    @@ -1984,7 +1941,7 @@ Friends
    -

    Definition at line 380 of file linear_solver.pb.h.

    +

    Definition at line 379 of file linear_solver.pb.h.

    @@ -2008,7 +1965,7 @@ Friends
    -

    Definition at line 346 of file linear_solver.pb.h.

    +

    Definition at line 345 of file linear_solver.pb.h.

    @@ -2032,7 +1989,7 @@ Friends
    -

    Definition at line 359 of file linear_solver.pb.h.

    +

    Definition at line 358 of file linear_solver.pb.h.

    @@ -2056,7 +2013,7 @@ Friends
    -

    Definition at line 387 of file linear_solver.pb.h.

    +

    Definition at line 386 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/classoperations__research_1_1OptionalDouble.html b/docs/cpp_linear/classoperations__research_1_1OptionalDouble.html index 94a3ba912b..502f57a01f 100644 --- a/docs/cpp_linear/classoperations__research_1_1OptionalDouble.html +++ b/docs/cpp_linear/classoperations__research_1_1OptionalDouble.html @@ -55,7 +55,7 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1OptionalD

    Detailed Description

    -

    Definition at line 1492 of file linear_solver.pb.h.

    +

    Definition at line 1484 of file linear_solver.pb.h.

    @@ -78,7 +78,6 @@ Public Member Functions - @@ -107,7 +106,6 @@ Public Member Functions - @@ -232,7 +230,7 @@ Friends

    Public Member Functions

    void Swap (OptionalDouble *other)
     
    OptionalDoubleNew () const final
     implements Message -------------------------------------------— More...
     
    OptionalDoubleNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    bool has_value () const
     nested types -------------------------------------------------— More...
     
    void clear_value ()
     
    -

    Definition at line 1499 of file linear_solver.pb.h.

    +

    Definition at line 1491 of file linear_solver.pb.h.

    @@ -310,7 +308,7 @@ Friends
    -

    Definition at line 3241 of file linear_solver.pb.h.

    +

    Definition at line 3221 of file linear_solver.pb.h.

    @@ -406,7 +404,7 @@ Friends
    -

    Definition at line 1524 of file linear_solver.pb.h.

    +

    Definition at line 1516 of file linear_solver.pb.h.

    @@ -433,7 +431,7 @@ Friends
    -

    Definition at line 1575 of file linear_solver.pb.h.

    +

    Definition at line 1567 of file linear_solver.pb.h.

    @@ -460,7 +458,7 @@ Friends
    -

    Definition at line 1527 of file linear_solver.pb.h.

    +

    Definition at line 1519 of file linear_solver.pb.h.

    @@ -512,7 +510,7 @@ Friends
    -

    Definition at line 1530 of file linear_solver.pb.h.

    +

    Definition at line 1522 of file linear_solver.pb.h.

    @@ -539,12 +537,7 @@ Friends
    -

    nested types -------------------------------------------------—

    -

    OptionalDouble.

    -

    accessors ----------------------------------------------------— optional double value = 1;

    -

    optional double value = 1;

    - -

    Definition at line 3238 of file linear_solver.pb.h.

    +

    Definition at line 3218 of file linear_solver.pb.h.

    @@ -596,7 +589,7 @@ Friends
    -

    Definition at line 1536 of file linear_solver.pb.h.

    +

    Definition at line 1528 of file linear_solver.pb.h.

    @@ -744,7 +737,7 @@ Friends
    -

    Definition at line 1520 of file linear_solver.pb.h.

    +

    Definition at line 1512 of file linear_solver.pb.h.

    @@ -771,9 +764,7 @@ Friends
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 1550 of file linear_solver.pb.h.

    +

    Definition at line 1542 of file linear_solver.pb.h.

    @@ -801,7 +792,7 @@ Friends
    -

    Definition at line 1554 of file linear_solver.pb.h.

    +

    Definition at line 1546 of file linear_solver.pb.h.

    @@ -829,7 +820,7 @@ Friends
    -

    Definition at line 1504 of file linear_solver.pb.h.

    +

    Definition at line 1496 of file linear_solver.pb.h.

    @@ -857,7 +848,7 @@ Friends
    -

    Definition at line 1508 of file linear_solver.pb.h.

    +

    Definition at line 1500 of file linear_solver.pb.h.

    @@ -910,9 +901,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.OptionalDouble.value)

    -

    Definition at line 3249 of file linear_solver.pb.h.

    +

    Definition at line 3229 of file linear_solver.pb.h.

    @@ -957,7 +947,7 @@ Friends
    -

    Definition at line 1517 of file linear_solver.pb.h.

    +

    Definition at line 1509 of file linear_solver.pb.h.

    @@ -983,9 +973,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.OptionalDouble.value)

    -

    Definition at line 3245 of file linear_solver.pb.h.

    +

    Definition at line 3225 of file linear_solver.pb.h.

    @@ -1010,7 +999,7 @@ Friends
    -

    Definition at line 1582 of file linear_solver.pb.h.

    +

    Definition at line 1574 of file linear_solver.pb.h.

    @@ -1034,7 +1023,7 @@ Friends
    -

    Definition at line 1623 of file linear_solver.pb.h.

    +

    Definition at line 1615 of file linear_solver.pb.h.

    @@ -1072,7 +1061,7 @@ Friends
    -

    Definition at line 1544 of file linear_solver.pb.h.

    +

    Definition at line 1536 of file linear_solver.pb.h.

    @@ -1097,7 +1086,7 @@ Friends
    Initial value:
    =
    7
    -

    Definition at line 1540 of file linear_solver.pb.h.

    +

    Definition at line 1532 of file linear_solver.pb.h.

    @@ -1121,7 +1110,7 @@ Friends
    -

    Definition at line 1611 of file linear_solver.pb.h.

    +

    Definition at line 1603 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/classoperations__research_1_1PartialVariableAssignment.html b/docs/cpp_linear/classoperations__research_1_1PartialVariableAssignment.html index 6f95859e3a..8e36fa9ef7 100644 --- a/docs/cpp_linear/classoperations__research_1_1PartialVariableAssignment.html +++ b/docs/cpp_linear/classoperations__research_1_1PartialVariableAssignment.html @@ -55,7 +55,7 @@ $(document).ready(function(){initNavTree('classoperations__research_1_1PartialVa

    Detailed Description

    -

    Definition at line 1129 of file linear_solver.pb.h.

    +

    Definition at line 1123 of file linear_solver.pb.h.

    @@ -78,7 +78,6 @@ Public Member Functions - @@ -107,7 +106,6 @@ Public Member Functions - @@ -122,7 +120,6 @@ Public Member Functions - @@ -255,7 +252,7 @@ Friends

    Public Member Functions

    void Swap (PartialVariableAssignment *other)
     
    PartialVariableAssignmentNew () const final
     implements Message -------------------------------------------— More...
     
    PartialVariableAssignmentNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
     
    ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
     
    int var_index_size () const
     nested types -------------------------------------------------— More...
     
    void clear_var_index ()
     
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_var_index ()
     
    int var_value_size () const
     repeated double var_value = 2 [packed = true]; More...
     
    void clear_var_value ()
     
    -

    Definition at line 1136 of file linear_solver.pb.h.

    +

    Definition at line 1130 of file linear_solver.pb.h.

    @@ -283,9 +280,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.PartialVariableAssignment.var_index)

    -

    Definition at line 2949 of file linear_solver.pb.h.

    +

    Definition at line 2931 of file linear_solver.pb.h.

    @@ -312,9 +308,8 @@ Friends
    -

    @protoc_insertion_point(field_add:operations_research.PartialVariableAssignment.var_value)

    -

    Definition at line 2979 of file linear_solver.pb.h.

    +

    Definition at line 2961 of file linear_solver.pb.h.

    @@ -391,7 +386,7 @@ Friends
    -

    Definition at line 2938 of file linear_solver.pb.h.

    +

    Definition at line 2920 of file linear_solver.pb.h.

    @@ -418,7 +413,7 @@ Friends
    -

    Definition at line 2968 of file linear_solver.pb.h.

    +

    Definition at line 2950 of file linear_solver.pb.h.

    @@ -514,7 +509,7 @@ Friends
    -

    Definition at line 1161 of file linear_solver.pb.h.

    +

    Definition at line 1155 of file linear_solver.pb.h.

    @@ -541,7 +536,7 @@ Friends
    -

    Definition at line 1212 of file linear_solver.pb.h.

    +

    Definition at line 1206 of file linear_solver.pb.h.

    @@ -568,7 +563,7 @@ Friends
    -

    Definition at line 1164 of file linear_solver.pb.h.

    +

    Definition at line 1158 of file linear_solver.pb.h.

    @@ -620,7 +615,7 @@ Friends
    -

    Definition at line 1167 of file linear_solver.pb.h.

    +

    Definition at line 1161 of file linear_solver.pb.h.

    @@ -672,7 +667,7 @@ Friends
    -

    Definition at line 1173 of file linear_solver.pb.h.

    +

    Definition at line 1167 of file linear_solver.pb.h.

    @@ -820,7 +815,7 @@ Friends
    -

    Definition at line 1157 of file linear_solver.pb.h.

    +

    Definition at line 1151 of file linear_solver.pb.h.

    @@ -846,9 +841,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.PartialVariableAssignment.var_index)

    -

    Definition at line 2959 of file linear_solver.pb.h.

    +

    Definition at line 2941 of file linear_solver.pb.h.

    @@ -874,9 +868,8 @@ Friends
    -

    @protoc_insertion_point(field_mutable_list:operations_research.PartialVariableAssignment.var_value)

    -

    Definition at line 2989 of file linear_solver.pb.h.

    +

    Definition at line 2971 of file linear_solver.pb.h.

    @@ -903,9 +896,7 @@ Friends
    -

    implements Message -------------------------------------------—

    - -

    Definition at line 1187 of file linear_solver.pb.h.

    +

    Definition at line 1181 of file linear_solver.pb.h.

    @@ -933,7 +924,7 @@ Friends
    -

    Definition at line 1191 of file linear_solver.pb.h.

    +

    Definition at line 1185 of file linear_solver.pb.h.

    @@ -961,7 +952,7 @@ Friends
    -

    Definition at line 1141 of file linear_solver.pb.h.

    +

    Definition at line 1135 of file linear_solver.pb.h.

    @@ -989,7 +980,7 @@ Friends
    -

    Definition at line 1145 of file linear_solver.pb.h.

    +

    Definition at line 1139 of file linear_solver.pb.h.

    @@ -1052,9 +1043,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.PartialVariableAssignment.var_index)

    -

    Definition at line 2945 of file linear_solver.pb.h.

    +

    Definition at line 2927 of file linear_solver.pb.h.

    @@ -1091,9 +1081,8 @@ Friends
    -

    @protoc_insertion_point(field_set:operations_research.PartialVariableAssignment.var_value)

    -

    Definition at line 2975 of file linear_solver.pb.h.

    +

    Definition at line 2957 of file linear_solver.pb.h.

    @@ -1138,7 +1127,7 @@ Friends
    -

    Definition at line 1154 of file linear_solver.pb.h.

    +

    Definition at line 1148 of file linear_solver.pb.h.

    @@ -1165,9 +1154,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.PartialVariableAssignment.var_index)

    -

    Definition at line 2941 of file linear_solver.pb.h.

    +

    Definition at line 2923 of file linear_solver.pb.h.

    @@ -1193,9 +1181,8 @@ Friends
    -

    @protoc_insertion_point(field_list:operations_research.PartialVariableAssignment.var_index)

    -

    Definition at line 2954 of file linear_solver.pb.h.

    +

    Definition at line 2936 of file linear_solver.pb.h.

    @@ -1222,12 +1209,7 @@ Friends
    -

    nested types -------------------------------------------------—

    -

    PartialVariableAssignment.

    -

    accessors ----------------------------------------------------— repeated int32 var_index = 1 [packed = true];

    -

    repeated int32 var_index = 1 [packed = true];

    - -

    Definition at line 2935 of file linear_solver.pb.h.

    +

    Definition at line 2917 of file linear_solver.pb.h.

    @@ -1254,9 +1236,8 @@ Friends
    -

    @protoc_insertion_point(field_get:operations_research.PartialVariableAssignment.var_value)

    -

    Definition at line 2971 of file linear_solver.pb.h.

    +

    Definition at line 2953 of file linear_solver.pb.h.

    @@ -1282,9 +1263,8 @@ Friends
    -

    @protoc_insertion_point(field_list:operations_research.PartialVariableAssignment.var_value)

    -

    Definition at line 2984 of file linear_solver.pb.h.

    +

    Definition at line 2966 of file linear_solver.pb.h.

    @@ -1311,9 +1291,7 @@ Friends
    -

    repeated double var_value = 2 [packed = true];

    - -

    Definition at line 2965 of file linear_solver.pb.h.

    +

    Definition at line 2947 of file linear_solver.pb.h.

    @@ -1338,7 +1316,7 @@ Friends
    -

    Definition at line 1219 of file linear_solver.pb.h.

    +

    Definition at line 1213 of file linear_solver.pb.h.

    @@ -1362,7 +1340,7 @@ Friends
    -

    Definition at line 1280 of file linear_solver.pb.h.

    +

    Definition at line 1274 of file linear_solver.pb.h.

    @@ -1400,7 +1378,7 @@ Friends
    -

    Definition at line 1181 of file linear_solver.pb.h.

    +

    Definition at line 1175 of file linear_solver.pb.h.

    @@ -1425,7 +1403,7 @@ Friends
    Initial value:
    =
    5
    -

    Definition at line 1177 of file linear_solver.pb.h.

    +

    Definition at line 1171 of file linear_solver.pb.h.

    @@ -1449,7 +1427,7 @@ Friends
    -

    Definition at line 1248 of file linear_solver.pb.h.

    +

    Definition at line 1242 of file linear_solver.pb.h.

    @@ -1473,7 +1451,7 @@ Friends
    -

    Definition at line 1260 of file linear_solver.pb.h.

    +

    Definition at line 1254 of file linear_solver.pb.h.

    diff --git a/docs/cpp_linear/files.js b/docs/cpp_linear/files.js index 840e9b0492..5916d1ebf8 100644 --- a/docs/cpp_linear/files.js +++ b/docs/cpp_linear/files.js @@ -1,6 +1,6 @@ var files = [ - [ "linear_solver.h", "linear__solver_8h.html", null ], + [ "linear_solver.h", "linear__solver_8h.html", "linear__solver_8h" ], [ "linear_solver.pb.h", "linear__solver_8pb_8h.html", "linear__solver_8pb_8h" ], [ "model_exporter.h", "model__exporter_8h.html", "model__exporter_8h" ], [ "model_exporter_swig_helper.h", "model__exporter__swig__helper_8h.html", "model__exporter__swig__helper_8h" ], diff --git a/docs/cpp_linear/functions.html b/docs/cpp_linear/functions.html index ca61eb69ee..64353bed15 100644 --- a/docs/cpp_linear/functions.html +++ b/docs/cpp_linear/functions.html @@ -54,6 +54,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • diff --git a/docs/cpp_linear/functions_a.html b/docs/cpp_linear/functions_a.html index 0673d255d4..eb25af53cc 100644 --- a/docs/cpp_linear/functions_a.html +++ b/docs/cpp_linear/functions_a.html @@ -54,6 +54,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • @@ -84,6 +85,9 @@ $(document).ready(function(){initNavTree('functions_a.html','');});
    Here is a list of all class members with links to the classes they belong to:

    - a -

    diff --git a/docs/cpp_linear/functions_b.html b/docs/cpp_linear/functions_b.html index bbb9796de4..fef5404d38 100644 --- a/docs/cpp_linear/functions_b.html +++ b/docs/cpp_linear/functions_b.html @@ -54,6 +54,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • @@ -84,14 +85,42 @@ $(document).ready(function(){initNavTree('functions_b.html','');});
    Here is a list of all class members with links to the classes they belong to:

    - b -

    diff --git a/docs/cpp_linear/functions_e.html b/docs/cpp_linear/functions_e.html index 00af554363..9fb04584e8 100644 --- a/docs/cpp_linear/functions_e.html +++ b/docs/cpp_linear/functions_e.html @@ -54,6 +54,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • @@ -87,6 +88,30 @@ $(document).ready(function(){initNavTree('functions_e.html','');});
  • enable_internal_solver_output() : operations_research::MPModelRequest
  • +
  • EnableOutput() +: operations_research::MPSolver +
  • +
  • ExportModelAsLpFormat() +: operations_research::MPSolver +
  • +
  • ExportModelAsMpsFormat() +: operations_research::MPSolver +
  • +
  • ExportModelToProto() +: operations_research::MPSolver +
  • +
  • ExtractModel() +: operations_research::MPSolverInterface +
  • +
  • ExtractNewConstraints() +: operations_research::MPSolverInterface +
  • +
  • ExtractNewVariables() +: operations_research::MPSolverInterface +
  • +
  • ExtractObjective() +: operations_research::MPSolverInterface +
  • diff --git a/docs/cpp_linear/functions_enum.html b/docs/cpp_linear/functions_enum.html index aefb46c328..e703b000dd 100644 --- a/docs/cpp_linear/functions_enum.html +++ b/docs/cpp_linear/functions_enum.html @@ -55,9 +55,39 @@ $(document).ready(function(){initNavTree('functions_enum.html','');}); diff --git a/docs/cpp_linear/functions_eval.html b/docs/cpp_linear/functions_eval.html index c184ef0d24..b8431d71bf 100644 --- a/docs/cpp_linear/functions_eval.html +++ b/docs/cpp_linear/functions_eval.html @@ -36,6 +36,26 @@
  • Related Functions
  • +
    diff --git a/docs/cpp_linear/functions_f.html b/docs/cpp_linear/functions_f.html index 681ec1529f..45886f8604 100644 --- a/docs/cpp_linear/functions_f.html +++ b/docs/cpp_linear/functions_f.html @@ -54,6 +54,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • @@ -84,9 +85,21 @@ $(document).ready(function(){initNavTree('functions_f.html','');});
    Here is a list of all class members with links to the classes they belong to:

    - f -

    diff --git a/docs/cpp_linear/functions_func.html b/docs/cpp_linear/functions_func.html index db393ad233..0eb8581254 100644 --- a/docs/cpp_linear/functions_func.html +++ b/docs/cpp_linear/functions_func.html @@ -43,6 +43,7 @@
  • c
  • d
  • e
  • +
  • f
  • g
  • h
  • i
  • @@ -51,6 +52,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • @@ -113,6 +115,18 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
  • add_weight() : operations_research::MPSosConstraint
  • +
  • AddIndicatorConstraint() +: operations_research::MPSolverInterface +
  • +
  • AddLinearExpr() +: operations_research::MPObjective +
  • +
  • AddRowConstraint() +: operations_research::MPSolverInterface +
  • +
  • AddVariable() +: operations_research::MPSolverInterface +
  • diff --git a/docs/cpp_linear/functions_func_b.html b/docs/cpp_linear/functions_func_b.html index 901240075b..e88e73edfc 100644 --- a/docs/cpp_linear/functions_func_b.html +++ b/docs/cpp_linear/functions_func_b.html @@ -43,6 +43,7 @@
  • c
  • d
  • e
  • +
  • f
  • g
  • h
  • i
  • @@ -51,6 +52,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • @@ -81,11 +83,23 @@ $(document).ready(function(){initNavTree('functions_func_b.html','');});  

    - b -

    diff --git a/docs/cpp_linear/functions_func_f.html b/docs/cpp_linear/functions_func_f.html new file mode 100644 index 0000000000..ee10672667 --- /dev/null +++ b/docs/cpp_linear/functions_func_f.html @@ -0,0 +1,98 @@ + + + + OR-Tools + + + + + + + + + + +
    + + + + +
    +
    + +
    +
    +
    + +
    +
    +  + +

    - f -

    +
    +
    + + + + diff --git a/docs/cpp_linear/functions_func_g.html b/docs/cpp_linear/functions_func_g.html index a25d4be79d..e489985663 100644 --- a/docs/cpp_linear/functions_func_g.html +++ b/docs/cpp_linear/functions_func_g.html @@ -43,6 +43,7 @@
  • c
  • d
  • e
  • +
  • f
  • g
  • h
  • i
  • @@ -51,6 +52,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • @@ -103,6 +105,10 @@ $(document).ready(function(){initNavTree('functions_func_g.html','');}); , operations_research::OptionalDouble , operations_research::PartialVariableAssignment +
  • GetCoefficient() +: operations_research::MPConstraint +, operations_research::MPObjective +
  • GetDescriptor() : operations_research::MPConstraintProto , operations_research::MPGeneralConstraintProto @@ -116,6 +122,12 @@ $(document).ready(function(){initNavTree('functions_func_g.html','');}); , operations_research::OptionalDouble , operations_research::PartialVariableAssignment
  • +
  • GetDoubleParam() +: operations_research::MPSolverParameters +
  • +
  • GetIntegerParam() +: operations_research::MPSolverParameters +
  • GetMetadata() : operations_research::MPConstraintProto , operations_research::MPGeneralConstraintProto @@ -129,6 +141,9 @@ $(document).ready(function(){initNavTree('functions_func_g.html','');}); , operations_research::OptionalDouble , operations_research::PartialVariableAssignment
  • +
  • GetNumThreads() +: operations_research::MPSolver +
  • GetReflection() : operations_research::MPConstraintProto , operations_research::MPGeneralConstraintProto @@ -142,6 +157,9 @@ $(document).ready(function(){initNavTree('functions_func_g.html','');}); , operations_research::OptionalDouble , operations_research::PartialVariableAssignment
  • +
  • GetSolverSpecificParametersAsString() +: operations_research::MPSolver +
  • diff --git a/docs/cpp_linear/functions_func_h.html b/docs/cpp_linear/functions_func_h.html index 10b3cf0ce9..09d503a76f 100644 --- a/docs/cpp_linear/functions_func_h.html +++ b/docs/cpp_linear/functions_func_h.html @@ -43,6 +43,7 @@
  • c
  • d
  • e
  • +
  • f
  • g
  • h
  • i
  • @@ -51,6 +52,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • diff --git a/docs/cpp_linear/functions_func_i.html b/docs/cpp_linear/functions_func_i.html index fcb9f8af7f..fdb3e6ac77 100644 --- a/docs/cpp_linear/functions_func_i.html +++ b/docs/cpp_linear/functions_func_i.html @@ -43,6 +43,7 @@
  • c
  • d
  • e
  • +
  • f
  • g
  • h
  • i
  • @@ -51,6 +52,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • @@ -81,9 +83,22 @@ $(document).ready(function(){initNavTree('functions_func_i.html','');});  

    - i -

    diff --git a/docs/cpp_linear/functions_func_l.html b/docs/cpp_linear/functions_func_l.html index 097e640851..2869757457 100644 --- a/docs/cpp_linear/functions_func_l.html +++ b/docs/cpp_linear/functions_func_l.html @@ -43,6 +43,7 @@
  • c
  • d
  • e
  • +
  • f
  • g
  • h
  • i
  • @@ -51,6 +52,7 @@
  • n
  • o
  • p
  • +
  • q
  • r
  • s
  • t
  • @@ -81,6 +83,28 @@ $(document).ready(function(){initNavTree('functions_func_l.html','');});  

    - l -