OR-Tools  8.2
PseudoCosts

Detailed Description

Definition at line 28 of file pseudo_costs.h.

Classes

struct  VariableBoundChange
 

Public Member Functions

 PseudoCosts (Model *model)
 
void UpdateCost (const std::vector< VariableBoundChange > &bound_changes, IntegerValue obj_bound_improvement)
 
IntegerVariable GetBestDecisionVar ()
 
double GetCost (IntegerVariable var) const
 
int GetRecordings (IntegerVariable var) const
 

Constructor & Destructor Documentation

◆ PseudoCosts()

PseudoCosts ( Model model)
explicit

Definition at line 27 of file pseudo_costs.cc.

Member Function Documentation

◆ GetBestDecisionVar()

IntegerVariable GetBestDecisionVar ( )

Definition at line 60 of file pseudo_costs.cc.

◆ GetCost()

double GetCost ( IntegerVariable  var) const
inline

Definition at line 46 of file pseudo_costs.h.

◆ GetRecordings()

int GetRecordings ( IntegerVariable  var) const
inline

Definition at line 53 of file pseudo_costs.h.

◆ UpdateCost()

void UpdateCost ( const std::vector< VariableBoundChange > &  bound_changes,
IntegerValue  obj_bound_improvement 
)

Definition at line 44 of file pseudo_costs.cc.


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