Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::Solver::PathEnergyCostConstraintSpecification::EnergyCost Struct Reference

#include <constraint_solver.h>

Public Member Functions

bool IsNull () const
 

Public Attributes

int64_t threshold
 
int64_t cost_per_unit_below_threshold
 
int64_t cost_per_unit_above_threshold
 

Detailed Description

Definition at line 1843 of file constraint_solver.h.

Member Function Documentation

◆ IsNull()

bool operations_research::Solver::PathEnergyCostConstraintSpecification::EnergyCost::IsNull ( ) const
inline

Definition at line 1847 of file constraint_solver.h.

Member Data Documentation

◆ cost_per_unit_above_threshold

int64_t operations_research::Solver::PathEnergyCostConstraintSpecification::EnergyCost::cost_per_unit_above_threshold

Definition at line 1846 of file constraint_solver.h.

◆ cost_per_unit_below_threshold

int64_t operations_research::Solver::PathEnergyCostConstraintSpecification::EnergyCost::cost_per_unit_below_threshold

Definition at line 1845 of file constraint_solver.h.

◆ threshold

int64_t operations_research::Solver::PathEnergyCostConstraintSpecification::EnergyCost::threshold

Definition at line 1844 of file constraint_solver.h.


The documentation for this struct was generated from the following file: