gtopt/state_variable.hpp file

State variables and dependencies for linear programming problems.

This module defines the StateVariable class which represents variables in a linear programming problem that may have dependencies across different scenes and phases of the optimization.

Key Features:

  • Tracks optimization values across problem phases
  • Manages dependent variables that update automatically
  • Thread-safe for concurrent access
  • Supports both single-phase and multi-scenario problems

Namespaces

namespace gtopt

Classes

struct gtopt::StateVariable::Key
struct gtopt::LPKey
struct gtopt::LPVariable
class gtopt::StateVariable