24#ifndef OR_TOOLS_MATH_OPT_CPP_SOLVE_H_
25#define OR_TOOLS_MATH_OPT_CPP_SOLVE_H_
30#include "absl/status/statusor.h"
40#include "ortools/math_opt/parameters.pb.h"
64 const SolveArguments& solve_args = {},
65 const SolverInitArguments& init_args = {});
83 std::function<absl::StatusOr<operations_research::math_opt::SolveResult>(
108 const SolverInitArguments& init_args = {});
120 Model*
model,
SolverType solver_type, SolverInitArguments arguments = {});
SolverType
The solvers supported by MathOpt.
absl::StatusOr< SolveResult > Solve(const Model &model, const SolverType solver_type, const SolveArguments &solve_args, const SolverInitArguments &init_args)
absl::StatusOr< std::unique_ptr< IncrementalSolver > > NewIncrementalSolver(Model *model, SolverType solver_type, SolverInitArguments arguments)
absl::StatusOr< ComputeInfeasibleSubsystemResult > ComputeInfeasibleSubsystem(const Model &model, const SolverType solver_type, const ComputeInfeasibleSubsystemArguments &compute_args, const SolverInitArguments &init_args)
std::function< absl::StatusOr< operations_research::math_opt::SolveResult >( const operations_research::math_opt::Model &, operations_research::math_opt::SolverType, const operations_research::math_opt::SolveArguments &, const operations_research::math_opt::SolverInitArguments &)> SolveFunction
In SWIG mode, we don't want anything besides these top-level includes.
Arguments passed to ComputeInfeasibleSubsystem() to control the solver.