Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::bop::BopSolver Class Reference

Detailed Description

Definition at line 50 of file bop_solver.h.

#include <bop_solver.h>

Public Member Functions

 BopSolver (const sat::LinearBooleanProblem &problem)
virtual ~BopSolver ()
void SetParameters (const BopParameters &parameters)
BopSolveStatus Solve ()
BopSolveStatus Solve (const BopSolution &first_solution)
BopSolveStatus SolveWithTimeLimit (TimeLimit *time_limit)
BopSolveStatus SolveWithTimeLimit (const BopSolution &first_solution, TimeLimit *time_limit)
const BopSolutionbest_solution () const
bool GetSolutionValue (VariableIndex var_id) const
double GetScaledBestBound () const
double GetScaledGap () const

Constructor & Destructor Documentation

◆ BopSolver()

operations_research::bop::BopSolver::BopSolver ( const sat::LinearBooleanProblem & problem)
explicit

Definition at line 55 of file bop_solver.cc.

◆ ~BopSolver()

operations_research::bop::BopSolver::~BopSolver ( )
virtual

Definition at line 63 of file bop_solver.cc.

Member Function Documentation

◆ best_solution()

const BopSolution & operations_research::bop::BopSolver::best_solution ( ) const
inline

Definition at line 69 of file bop_solver.h.

◆ GetScaledBestBound()

double operations_research::bop::BopSolver::GetScaledBestBound ( ) const

Definition at line 161 of file bop_solver.cc.

◆ GetScaledGap()

double operations_research::bop::BopSolver::GetScaledGap ( ) const

Definition at line 166 of file bop_solver.cc.

◆ GetSolutionValue()

bool operations_research::bop::BopSolver::GetSolutionValue ( VariableIndex var_id) const
inline

Definition at line 70 of file bop_solver.h.

◆ SetParameters()

void operations_research::bop::BopSolver::SetParameters ( const BopParameters & parameters)
inline

Definition at line 56 of file bop_solver.h.

◆ Solve() [1/2]

BopSolveStatus operations_research::bop::BopSolver::Solve ( )

Definition at line 65 of file bop_solver.cc.

◆ Solve() [2/2]

BopSolveStatus operations_research::bop::BopSolver::Solve ( const BopSolution & first_solution)

Definition at line 129 of file bop_solver.cc.

◆ SolveWithTimeLimit() [1/2]

BopSolveStatus operations_research::bop::BopSolver::SolveWithTimeLimit ( const BopSolution & first_solution,
TimeLimit * time_limit )

Definition at line 135 of file bop_solver.cc.

◆ SolveWithTimeLimit() [2/2]

BopSolveStatus operations_research::bop::BopSolver::SolveWithTimeLimit ( TimeLimit * time_limit)

Definition at line 71 of file bop_solver.cc.


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