OR-Tools  9.6
PseudoCosts

Detailed Description

Definition at line 33 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
 
std::vector< VariableBoundChangeGetBoundChanges (Literal decision)
 

Constructor & Destructor Documentation

◆ PseudoCosts()

PseudoCosts ( Model model)
explicit

Definition at line 32 of file pseudo_costs.cc.

Member Function Documentation

◆ GetBestDecisionVar()

IntegerVariable GetBestDecisionVar ( )

Definition at line 66 of file pseudo_costs.cc.

◆ GetBoundChanges()

std::vector< PseudoCosts::VariableBoundChange > GetBoundChanges ( Literal  decision)

Definition at line 105 of file pseudo_costs.cc.

◆ GetCost()

double GetCost ( IntegerVariable  var) const
inline

Definition at line 51 of file pseudo_costs.h.

◆ GetRecordings()

int GetRecordings ( IntegerVariable  var) const
inline

Definition at line 58 of file pseudo_costs.h.

◆ UpdateCost()

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

Definition at line 50 of file pseudo_costs.cc.


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