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

Detailed Description

Definition at line 103 of file bop_fs.h.

#include <bop_fs.h>

Inheritance diagram for operations_research::bop::LinearRelaxation:
operations_research::bop::BopOptimizerBase

Public Member Functions

 LinearRelaxation (const BopParameters &parameters, absl::string_view name)
 ~LinearRelaxation () override
bool ShouldBeRun (const ProblemState &problem_state) const override
Status Optimize (const BopParameters &parameters, const ProblemState &problem_state, LearnedInfo *learned_info, TimeLimit *time_limit) override
Public Member Functions inherited from operations_research::bop::BopOptimizerBase
 BopOptimizerBase (absl::string_view name)
virtual ~BopOptimizerBase ()
const std::string & name () const

Additional Inherited Members

Public Types inherited from operations_research::bop::BopOptimizerBase
enum  Status {
  OPTIMAL_SOLUTION_FOUND , SOLUTION_FOUND , INFEASIBLE , LIMIT_REACHED ,
  INFORMATION_FOUND , CONTINUE , ABORT
}
Static Public Member Functions inherited from operations_research::bop::BopOptimizerBase
static std::string GetStatusString (Status status)
Protected Attributes inherited from operations_research::bop::BopOptimizerBase
const std::string name_
StatsGroup stats_

Constructor & Destructor Documentation

◆ LinearRelaxation()

operations_research::bop::LinearRelaxation::LinearRelaxation ( const BopParameters & parameters,
absl::string_view name )

Definition at line 371 of file bop_fs.cc.

◆ ~LinearRelaxation()

operations_research::bop::LinearRelaxation::~LinearRelaxation ( )
overridedefault

Member Function Documentation

◆ Optimize()

BopOptimizerBase::Status operations_research::bop::LinearRelaxation::Optimize ( const BopParameters & parameters,
const ProblemState & problem_state,
LearnedInfo * learned_info,
TimeLimit * time_limit )
overridevirtual

Implements operations_research::bop::BopOptimizerBase.

Definition at line 475 of file bop_fs.cc.

◆ ShouldBeRun()

bool operations_research::bop::LinearRelaxation::ShouldBeRun ( const ProblemState & problem_state) const
overridevirtual

Implements operations_research::bop::BopOptimizerBase.

Definition at line 470 of file bop_fs.cc.


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