Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::BinCapacities::LoadLimit Struct Reference

#include <routing_utils.h>

Public Attributes

int64_t max_load
 
int64_t soft_max_load
 
int64_t cost_above_soft_max_load
 

Detailed Description

Represents the limits of a bin with respect to a dimension:

  • max_load is a max total load, can cause TryAddItemToBin() to return false if load would exceed max_load.
  • soft_max_load is a max load that can be exceeded, causing the TotalCost() to increase. Initial value may be negative, to help with modelling.
  • cost_above_soft_max_load is the cost incurred per unit by which load exceeds soft_max_load.

Definition at line 41 of file routing_utils.h.

Member Data Documentation

◆ cost_above_soft_max_load

int64_t operations_research::BinCapacities::LoadLimit::cost_above_soft_max_load

Definition at line 44 of file routing_utils.h.

◆ max_load

int64_t operations_research::BinCapacities::LoadLimit::max_load

Definition at line 42 of file routing_utils.h.

◆ soft_max_load

int64_t operations_research::BinCapacities::LoadLimit::soft_max_load

Definition at line 43 of file routing_utils.h.


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