Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::LargeInstanceIpParameterTest Class Reference

#include <ip_parameter_tests.h>

Inheritance diagram for operations_research::math_opt::LargeInstanceIpParameterTest:

Protected Member Functions

absl::StatusOr< std::unique_ptr< Model > > Load23588 ()
 
absl::StatusOr< std::unique_ptr< Model > > LoadBeavma ()
 

Static Protected Attributes

static constexpr double kOptimalObjective = 8090.0
 
static constexpr double kLpRelaxationObjective = 7649.87
 

Detailed Description

Tests MIP parameters on the MIPLIB instance 23588, which has optimal solution 8090 and LP relaxation of 7649.87. This instance was selected because every supported solver can solve it quickly (a few seconds), but no solver can solve it in one node (so we can test node limit) or too quickly (so we can test time limit).

The cut test uses beavma instead of 23588 (this made the test less brittle, see cl/581963920 for details).

Definition at line 161 of file ip_parameter_tests.h.

Member Function Documentation

◆ Load23588()

absl::StatusOr< std::unique_ptr< Model > > operations_research::math_opt::LargeInstanceIpParameterTest::Load23588 ( )
protected

Definition at line 1049 of file ip_parameter_tests.cc.

◆ LoadBeavma()

absl::StatusOr< std::unique_ptr< Model > > operations_research::math_opt::LargeInstanceIpParameterTest::LoadBeavma ( )
protected

Definition at line 1054 of file ip_parameter_tests.cc.

Member Data Documentation

◆ kLpRelaxationObjective

double operations_research::math_opt::LargeInstanceIpParameterTest::kLpRelaxationObjective = 7649.87
staticconstexprprotected

Computed with the command: blaze-bin/ortools/math_opt/tools/mathopt_solve \ –input_file \ operations_research_data/MIP_MIPLIB/miplib2017/23588.mps.gz \ –solver_type glop –solver_logs –lp_relaxation

Definition at line 173 of file ip_parameter_tests.h.

◆ kOptimalObjective

double operations_research::math_opt::LargeInstanceIpParameterTest::kOptimalObjective = 8090.0
staticconstexprprotected

Definition at line 167 of file ip_parameter_tests.h.


The documentation for this class was generated from the following files: