capacity_object_lp.hpp file
Linear programming representation of capacity-constrained objects.
This module defines the CapacityObjectLP template class which provides:
- Modeling of capacity constraints in linear programming problems
- Support for capacity expansion with associated costs
- Time-phased capacity tracking across stages
- Integration with the GT optimization framework
Key features:
- Handles both fixed and expandable capacities
- Tracks capacity installation and costs separately
- Supports derating factors for capacity degradation
- Provides output capabilities for solution analysis
The class is designed to work with the GT optimization system's:
- LinearProblem interface
- Input/Output contexts
- Stage and scenario indexing
Namespaces
- namespace gtopt
Classes
- struct gtopt::CapacityObjectBase
- Base class providing capacity constraint logic for LP objects.
- struct gtopt::CapacityObjectLP
- A linear programming representation of an object with capacity constraints.