14#ifndef OR_TOOLS_BOP_INTEGRAL_SOLVER_H_
15#define OR_TOOLS_BOP_INTEGRAL_SOLVER_H_
17#include "absl/base/attributes.h"
18#include "absl/base/port.h"
20#include "ortools/bop/bop_parameters.pb.h"
76 BopParameters parameters_;
const glop::DenseRow & variable_values() const
BopParameters parameters() const
IntegralSolver(const IntegralSolver &)=delete
This type is neither copyable nor movable.
glop::Fractional best_bound() const
Returns the best bound found so far.
IntegralSolver & operator=(const IntegralSolver &)=delete
~IntegralSolver()=default
ABSL_MUST_USE_RESULT BopSolveStatus SolveWithTimeLimit(const glop::LinearProgram &linear_problem, const glop::DenseRow &user_provided_initial_solution, TimeLimit *time_limit)
ABSL_MUST_USE_RESULT BopSolveStatus SolveWithTimeLimit(const glop::LinearProgram &linear_problem, TimeLimit *time_limit)
glop::Fractional objective_value() const
Returns the objective value of the solution with its offset.
void SetParameters(const BopParameters ¶meters)
ABSL_MUST_USE_RESULT BopSolveStatus Solve(const glop::LinearProgram &linear_problem)
Solves the given linear program and returns the solve status.
ABSL_MUST_USE_RESULT BopSolveStatus Solve(const glop::LinearProgram &linear_problem, const glop::DenseRow &user_provided_initial_solution)
BopSolveStatus
Status of the solve of Bop.
In SWIG mode, we don't want anything besides these top-level includes.