gtopt/phase.hpp file

Defines the Phase structure for multi-phase optimization problems.

A Phase groups a consecutive set of planning stages. Phases allow modelling problems with distinct investment or operational windows, e.g. a 5-year construction phase followed by a 20-year operational phase.

JSON Example

{"uid": 1, "first_stage": 0, "count_stage": 5}

Namespaces

namespace gtopt

Classes

struct gtopt::Phase
Groups consecutive planning stages into a higher-level period.