Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
lp_solver.cc File Reference
#include "ortools/glop/lp_solver.h"
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <memory>
#include <string>
#include "absl/flags/flag.h"
#include "absl/log/check.h"
#include "absl/log/log.h"
#include "absl/log/vlog_is_on.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "google/protobuf/text_format.h"
#include "ortools/base/version.h"
#include "ortools/glop/parameters.pb.h"
#include "ortools/glop/preprocessor.h"
#include "ortools/glop/revised_simplex.h"
#include "ortools/glop/status.h"
#include "ortools/glop/variables_info.h"
#include "ortools/linear_solver/linear_solver.pb.h"
#include "ortools/lp_data/lp_data.h"
#include "ortools/lp_data/lp_types.h"
#include "ortools/lp_data/lp_utils.h"
#include "ortools/lp_data/proto_utils.h"
#include "ortools/port/proto_utils.h"
#include "ortools/util/fp_utils.h"
#include "ortools/util/logging.h"
#include "ortools/util/file_util.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 OR-Tools root namespace.
namespace  operations_research::glop

Functions

 ABSL_FLAG (bool, lp_dump_to_proto_file, false, "Tells whether do dump the problem to a protobuf file.")
 ABSL_FLAG (bool, lp_dump_compressed_file, true, "Whether the proto dump file is compressed.")
 ABSL_FLAG (bool, lp_dump_binary_file, false, "Whether the proto dump file is binary.")
 ABSL_FLAG (int, lp_dump_file_number, -1, "Number for the dump file, in the form name-000048.pb. " "If < 0, the file is automatically numbered from the number of " "calls to LPSolver::Solve().")
 ABSL_FLAG (std::string, lp_dump_dir, "/tmp", "Directory where dump files are written.")
 ABSL_FLAG (std::string, lp_dump_file_basename, "", "Base name for dump files. LinearProgram::name_ is used if " "lp_dump_file_basename is empty. If LinearProgram::name_ is " "empty, \"linear_program_dump_file\" is used.")
 ABSL_FLAG (std::string, glop_params, "", "Override any user parameters with the value of this flag. This is " "interpreted as a GlopParameters proto in text format.")

Function Documentation

◆ ABSL_FLAG() [1/7]

ABSL_FLAG ( bool ,
lp_dump_binary_file ,
false ,
"Whether the proto dump file is binary."  )

◆ ABSL_FLAG() [2/7]

ABSL_FLAG ( bool ,
lp_dump_compressed_file ,
true ,
"Whether the proto dump file is compressed."  )

◆ ABSL_FLAG() [3/7]

ABSL_FLAG ( bool ,
lp_dump_to_proto_file ,
false ,
"Tells whether do dump the problem to a protobuf file."  )

◆ ABSL_FLAG() [4/7]

ABSL_FLAG ( int ,
lp_dump_file_number ,
- 1,
"Number for the dump file )

◆ ABSL_FLAG() [5/7]

ABSL_FLAG ( std::string ,
glop_params ,
"" ,
"Override any user parameters with the value of this flag. This is " "interpreted as a GlopParameters proto in text format."  )

◆ ABSL_FLAG() [6/7]

ABSL_FLAG ( std::string ,
lp_dump_dir ,
"/tmp" ,
"Directory where dump files are written."  )

◆ ABSL_FLAG() [7/7]

ABSL_FLAG ( std::string ,
lp_dump_file_basename ,
"" ,
"Base name for dump files. LinearProgram::name_ is used if " "lp_dump_file_basename is empty. If LinearProgram::name_ is " " empty,
\"linear_program_dump_file\" is used."  )