Files
-
dir docs
- dir methods
-
dir documentation
- dir pages
-
dir gtopt
-
dir json
- file json_allowance_pool.hpp JSON serialisation for
AllowancePoolobjects. - file json_ammonia_node.hpp JSON serialisation for
AmmoniaNode. - file json_ammonia_storage.hpp JSON serialisation for
AmmoniaStorageobjects. - file json_aperture.hpp JSON serialization for the Aperture struct.
- file json_basic_types.hpp Header of json basic types.
- file json_battery.hpp JSON serialization support for Battery objects.
- file json_block.hpp JSON serialization for Block.
- file json_bus.hpp
- file json_capacity_profile.hpp JSON serialization for the unified
CapacityProfileelement. - file json_carrier_converter.hpp JSON serialisation for
CarrierConverter. - file json_cascade_options.hpp JSON serialization for CascadeTransition, CascadeLevelMethod, CascadeLevel, and CascadeOptions.
- file json_commitment.hpp JSON serialization for Commitment.
- file json_converter.hpp
- file json_decision_variable.hpp JSON serialization for DecisionVariable objects.
- file json_demand.hpp JSON serialization for Demand and DemandAttrs.
- file json_demand_profile.hpp
- file json_emission.hpp JSON serialization for Emission (pollutant tag).
- file json_emission_capture.hpp JSON serialization for EmissionCapture (CCS inline row).
- file json_emission_source.hpp JSON serialization for EmissionSource.
- file json_emission_zone.hpp JSON serialization for EmissionZone (+ legacy-singular fold).
- file json_enum_option.hpp Generic JSON serialization helper for NamedEnum types.
- file json_fail_segment.hpp JSON contract for FailSegment (stepwise VoLL curve segment).
- file json_field_sched.hpp JSON serialization for FieldSched variant types.
- file json_flow.hpp JSON serialization for Flow objects.
- file json_flow_right.hpp JSON serialization for FlowRight objects.
- file json_fuel.hpp JSON serialization for Fuel + FuelEmissionFactor.
- file json_future_cost.hpp JSON serialization for FutureCost (FCF / cost-to-go) elements.
- file json_gas_network.hpp JSON serialisation for the gas-network elements.
- file json_gas_options.hpp JSON serialization for GasOptions.
- file json_generator.hpp
- file json_generator_profile.hpp
- file json_hydrogen_demand.hpp JSON serialisation for
HydrogenDemand. - file json_hydrogen_node.hpp JSON serialisation for
HydrogenNode. - file json_hydrogen_storage.hpp JSON serialisation for
HydrogenStorageobjects. - file json_inertia_provision.hpp JSON serialization for InertiaProvision.
- file json_inertia_zone.hpp JSON serialization for InertiaZone.
- file json_iteration.hpp JSON serialization for Iteration objects.
- file json_junction.hpp
- file json_line.hpp
- file json_line_commitment.hpp JSON serialization for LineCommitment (issue #509).
- file json_line_dlr.hpp JSON mapping for the Line dynamic line rating (
Line.dlr). - file json_lng_terminal.hpp JSON serialization for LngTerminal and LngGeneratorLink.
- file json_lp_matrix_options.hpp JSON serialization for LP matrix options.
- file json_lp_scales.hpp daw::json contracts for the LP scales sidecar
- file json_lp_validation.hpp JSON serialization for LpValidationOptions.
- file json_model_options.hpp JSON serialization for ModelOptions.
- file json_monolithic_options.hpp JSON serialization for MonolithicOptions.
- file json_options.hpp JSON serialization for PlanningOptions.
- file json_parse_policy.hpp Shared daw::json parse policies for gtopt.
- file json_phase.hpp JSON serialization for Phase objects.
- file json_planning.hpp JSON serialization/deserialization for the Planning class.
- file json_plant.hpp JSON serialization for Plant objects.
- file json_pump.hpp
- file json_reserve_provision.hpp
- file json_reserve_zone.hpp
- file json_reservoir.hpp
- file json_reservoir_discharge_limit.hpp
- file json_reservoir_production_factor.hpp
- file json_reservoir_seepage.hpp
- file json_right_bound_rule.hpp JSON serialization for RightBoundRule and RightBoundSegment.
- file json_sanity_options.hpp JSON serialization for SanityOptions.
- file json_scenario.hpp JSON serialization for Scenario.
- file json_scene.hpp JSON serialization for Scene objects.
- file json_sddp_options.hpp JSON serialization for SddpOptions.
- file json_simple_commitment.hpp JSON serialization for SimpleCommitment.
- file json_simulation.hpp JSON serialization/deserialization for the Simulation class.
- file json_single_id.hpp JSON serialization for SingleId variant type.
- file json_solver_options.hpp JSON serialization for LP solver options.
- file json_stage.hpp JSON serialization for Stage.
- file json_system.hpp JSON serialization/deserialization for the System class.
- file json_thermal_node.hpp JSON serialisation for
ThermalNode. - file json_thermal_storage.hpp JSON serialisation for
ThermalStorageobjects. - file json_turbine.hpp
- file json_user_constraint.hpp JSON serialization/deserialization for UserConstraint.
- file json_user_model.hpp JSON serialization for UserModel (generic AMPL capture) elements.
- file json_user_param.hpp JSON serialization for UserParam.
- file json_variable_scale.hpp JSON serialization for VariableScale.
- file json_volume_right.hpp JSON serialization for VolumeRight objects.
- file json_waterway.hpp
- file json_allowance_pool.hpp JSON serialisation for
- file active_ref.hpp Tolerant cross-element references for
add_to_lp/update_lp. - file allowance_pool.hpp CO₂ / pollutant Cap-and-Trade allowance pool.
- file allowance_pool_lp.hpp LP wrapper for
AllowancePool(Phase 2 — banking only). - file ammonia_node.hpp Ammonia-carrier balance node (long-term H₂ storage).
- file ammonia_node_lp.hpp LP wrapper for
AmmoniaNode— carrier-side balance row. - file ammonia_storage.hpp Ammonia (NH₃) storage — long-term carrier of H₂
- file ammonia_storage_lp.hpp LP wrapper for the
AmmoniaStorageelement. - file ampl_dispatch_registry.hpp One-shot population of the AMPL param + iterator tables.
- file ampl_variable.hpp Registry types for user-constraint (AMPL) variable resolution.
- file aperture.hpp Aperture definition for SDDP backward-pass scenario sampling.
- file aperture_data_cache.hpp Pre-loaded aperture scenario data for SDDP backward pass.
- file array_index_traits.hpp Traits and utilities for reading Arrow-indexed arrays.
- file arrow_index_cache.hpp Shared, scene/phase-invariant Arrow input-index cache.
- file arrow_input_guards.hpp Fail-hard guards for Arrow tables loaded from Parquet / CSV.
- file arrow_types.hpp
- file as_label.hpp String label generation utilities.
- file basic_types.hpp Fundamental type definitions for power system planning.
- file basis.hpp Solver-agnostic simplex basis (warm-start) primitive.
- file basis_io.hpp Binary (de)serialization of a solver-agnostic simplex
Basis. - file battery.hpp Header for battery energy storage components.
- file battery_lp.hpp Header for battery LP formulation.
- file benders_cut.hpp Modular Benders cut construction and handling.
- file block.hpp Time block definition for power system optimization.
- file block_lp.hpp Linear Programming representation of a Block for optimization problems.
- file build_info.hpp Version and source revision of the running gtopt build.
- file bus.hpp Busbar electrical model definition.
- file bus_island.hpp Connected-component (island) detection for bus networks.
- file bus_lp.hpp Linear Programming representation of a Bus for optimization problems.
- file capacity.hpp Defines capacity-related structures for planning models.
- file capacity_object_lp.hpp Linear programming representation of capacity-constrained objects.
- file capacity_profile.hpp Generic time-varying availability profile (kind-tagged).
- file capacity_profile_lp.hpp Unified LP wrapper for
CapacityProfile(kind-dispatched). - file capacity_profile_traits.hpp Per-owner-kind dispatch table for
CapacityProfile/CapacityProfileLP. - file capital_recovery.hpp Capital recovery factor and annuity of an overnight cost.
- file carrier.hpp Energy-carrier tag for
Node<>templated balance nodes. - file carrier_converter.hpp Multi-carrier energy converter (electrolyser, fuel cell, HB, …).
- file carrier_converter_lp.hpp LP wrapper for
CarrierConverter. - file carrier_node_lp.hpp Shared LP wrapper for the carrier balance nodes.
- file carrier_storage_lp.hpp Shared LP wrapper for the carrier storages (TES / H₂ / NH₃).
- file cascade_method.hpp Multi-level cascade method with configurable LP formulations.
- file cascade_options.hpp Cascade solver configuration: transitions, levels, and options.
- file cascade_progress.hpp Checkpoint file for cascade-method resume across runs.
- file cell_partition.hpp Cell partition of a stage: periods / days as unions of cells.
- file check_lp.hpp Utility for running gtopt_check_lp diagnostics on error LP files.
- file check_solvers.hpp C++ solver plugin test suite callable as a library.
- file cli_options.hpp Modern C++ command-line option parsing (replaces boost::program_options).
- file collection.hpp Header for efficient typed element collection container.
- file commitment.hpp Unit commitment data for generator on/off scheduling.
- file commitment_lp.hpp LP formulation for unit commitment (three-bin u/v/w model).
- file commitment_power_based.hpp Power-based unit-commitment rows (Morales-España et al.).
- file config_file.hpp Lightweight INI config file reader for .gtopt.conf.
- file constraint_directive.hpp Typed metadata directive attached to a UserConstraint.
- file constraint_expr.hpp AST types for parsed user constraint expressions.
- file constraint_names.hpp Canonical constexpr name constants used in LP row labels.
- file constraint_parser.hpp Parser for user constraint expressions (AMPL-inspired syntax).
- file converter.hpp Defines the Converter structure for battery-generator coupling.
- file converter_lp.hpp LP formulation for energy converters.
- file coordinator_pool.hpp Tier-1 scene/pass orchestration pool for the SDDP method.
- file cost_helper.hpp Cost calculation and discounting utilities for optimization problems.
- file coupler_fail_closed.hpp "Fail-closed" helpers for coupler elements (rule R2)
- file cpu_monitor.hpp CPU usage monitoring and statistics collection.
- file decision_variable.hpp Decision Variable (continuous or integer) referenced by UserConstraints.
- file decision_variable_lp.hpp LP representation of a free continuous Decision Variable.
- file demand.hpp Header file defining demand-related structures for power system planning.
- file demand_lp.hpp
- file demand_profile.hpp Demand profile configuration and attributes.
- file demand_profile_lp.hpp LP formulation for demand profiles.
- file domain_rules.hpp Domain rules that repair a candidate integer commitment.
- file element_column_resolver.hpp Resolve LP column indices for user-constraint element references.
- file element_context.hpp Provides a context for interacting with elements within a SystemLP.
- file element_index.hpp Type-safe strong index type for elements.
- file element_traits.hpp Defines traits for accessing and manipulating elements in a system context.
- file emission.hpp Pollutant TYPE entity (registry; no constraints).
- file emission_capture.hpp Per-(generator, pollutant) capture & cost (CCS) declaration.
- file emission_lp.hpp Parameter-carrier wrapper for the Emission pollutant tag.
- file emission_source.hpp Bridge entity — generator → emission zone with combustion + optional upstream (WTT) per-MWh rates.
- file emission_source_lp.hpp LP-active wrapper for the EmissionSource bridge entity.
- file emission_zone.hpp Pollutant constraint zone — optional cap / price / pool.
- file emission_zone_lp.hpp LP-active wrapper for the EmissionZone bridge entity.
- file enum_option.hpp Generic compile-time enum-to-string and string-to-enum framework.
- file error.hpp Header for error handling types and error codes.
- file fail_segment.hpp Stepwise value-of-lost-load (VoLL) curve segment for Demand.
- file fcut_log.hpp PLP-style feasibility-cut debug log (plpfact.log analogue).
- file field_sched.hpp
- file flat_helper.hpp Helper for flattening multi-dimensional optimization data into LP format.
- file flow.hpp Exogenous water flow (inflow/outflow) at a hydraulic junction.
- file flow_lp.hpp Linear programming representation of network flows.
- file flow_right.hpp Flow-based water right (derechos de caudal).
- file flow_right_lp.hpp LP representation of flow-based water rights.
- file fmap.hpp flat_map type alias and map utility helpers
- file fuel.hpp Defines the Fuel structure (price + heat content + emission factors).
- file fuel_lp.hpp LP wrapper for the Fuel data struct.
- file future_cost.hpp Future Cost Function (FCF) element — the cost-to-go / α
- file future_cost_aliases.hpp Translate the deprecated boundary-cut option keys into FutureCost.
- file future_cost_lp.hpp LP representation of a FutureCost (FCF / cost-to-go) element.
- file gas_compressor.hpp Gas compressor station: ratio bounds in π + fuel model.
- file gas_compressor_lp.hpp LP wrapper for
GasCompressor— ratio rows + fuel model. - file gas_demand.hpp Exogenous gas load at a GasNode with priced shedding.
- file gas_demand_lp.hpp LP wrapper for
GasDemand— load RHS + shedding column. - file gas_enums.hpp Enumerations for the gas-network element configuration.
- file gas_node.hpp Natural-gas network node (squared pressure + gas balance).
- file gas_node_lp.hpp LP wrapper for
GasNode— π column + gas balance row. - file gas_options.hpp Network-wide gas properties of the gas-network model.
- file gas_physics.hpp Steady-state natural-gas physics used by the gas-network LP.
- file gas_pipe.hpp Gas pipeline: Weymouth outer approximation + line pack.
- file gas_pipe_lp.hpp LP wrapper for
GasPipe— Weymouth tangents + line pack. - file gas_slp.hpp Sequential LP for linearised (meshed) gas pipes.
- file gas_supply.hpp Gas injection (field, pipeline import, LNG regasification).
- file gas_supply_lp.hpp LP wrapper for
GasSupply— priced injection column. - file gas_turbine.hpp Gas-fired generator ↔ GasNode link (fuel + pressure gate).
- file gas_turbine_lp.hpp LP wrapper for
GasTurbine— fuel term + pressure gate. - file generator.hpp Header for generator components in power system planning.
- file generator_enums.hpp Generator-class enums (CogenMode, OutageReserveMode).
- file generator_lp.hpp Linear Programming representation of a Generator for optimization.
- file generator_profile.hpp Generator profile configuration and attributes.
- file generator_profile_lp.hpp Linear programming representation of generator profiles.
- file gpu_monitor.hpp GPU (NVML) resource monitoring — sibling of CPUMonitor/MemoryMonitor.
- file gtopt_cli.hpp Testable command-line front end of the gtopt standalone binary.
- file gtopt_json_io.hpp JSON parsing, serialization, and –set overlay for Planning.
- file gtopt_lp_runner.hpp LP build, solve, stats, and output writing.
- file gtopt_main.hpp Core application entry point for the gtopt optimizer.
- file hardware_info.hpp Physical vs logical CPU core detection.
- file hydrogen_demand.hpp Hydrogen offtake (sink) at a HydrogenNode.
- file hydrogen_demand_lp.hpp LP wrapper for
HydrogenDemand— hydrogen offtake columns. - file hydrogen_node.hpp Hydrogen-carrier balance node (electrolyser / fuel cell).
- file hydrogen_node_lp.hpp LP wrapper for
HydrogenNode— carrier-side balance row. - file hydrogen_storage.hpp Hydrogen storage (steel cylinders, salt caverns, LH₂).
- file hydrogen_storage_lp.hpp LP wrapper for the
HydrogenStorageelement. - file ieee738.hpp IEEE Std 738 steady-state conductor heat balance (SI units).
- file index_holder.hpp Multi-dimensional index map type aliases for LP lookups.
- file inertia_provision.hpp Defines InertiaProvision – generator contribution to an inertia zone.
- file inertia_provision_lp.hpp LP formulation for inertia provisions.
- file inertia_zone.hpp Defines the InertiaZone structure for system inertia requirements.
- file inertia_zone_lp.hpp LP formulation for inertia zones.
- file input_context.hpp Input context for reading scheduled data into LP elements.
- file input_traits.hpp Input data access traits.
- file integer_variable.hpp Registry abstraction for every integer LP column in gtopt.
- file iteration.hpp Defines the Iteration structure for per-iteration solver control.
- file iteration_lp.hpp LP representation of an Iteration control entry.
- file json_canonicalize.hpp Rewrite alias keys in JSON text to canonical gtopt names.
- file json_schema.hpp JSON Schema dump for the gtopt input data model.
- file junction.hpp Hydraulic junction node for hydro cascade systems.
- file junction_lp.hpp Header for junction linear programming formulation.
- file kappa_mode.hpp Default
kappa_mode: compiled default,$GTOPT_KAPPA_MODE. - file kirchhoff_cycle_basis.hpp Fundamental-cycle builder for the loop-flow KVL formulation.
- file kirchhoff_node_angle.hpp B–θ (node-angle) Kirchhoff Voltage Law row assembly.
- file label_maker.hpp Generates LP column/row name strings honoring LpNamesLevel.
- file lindistflow.hpp Shared helpers of the LinDistFlow network model.
- file line.hpp Header for transmission line components.
- file line_commitment.hpp Per-line Optimal Transmission Switching (OTS) parameters.
- file line_commitment_lp.hpp LP formulation for Optimal Transmission Switching (issue #509).
- file line_direction.hpp Radial-line detection and structural flow-direction certificate.
- file line_dlr.hpp Dynamic line rating (DLR) through critical spans — schema.
- file line_dlr_lp.hpp Per-block span ratings of a Line dynamic line rating (DLR).
- file line_enums.hpp Enumerations for transmission line configuration.
- file line_losses.hpp Modular transmission line losses engine.
- file line_lp.hpp LP formulation for transmission lines.
- file line_thermal_resistance.hpp Conductor temperature from losses: linear R(T) and R_Θ (TDPF).
- file linear_interface.hpp Interface to linear programming solvers.
- file linear_interface_labels_codec.hpp Byte-level (de)serializer for LP column / row label metadata.
- file linear_parser.hpp Parser for linear constraint expressions.
- file linear_problem.hpp Header defining data structures for sparse linear planning problems.
- file lng_terminal.hpp Defines the LngTerminal structure representing an LNG storage terminal.
- file lng_terminal_lp.hpp Defines the LngTerminalLP class for linear programming representation.
- file log_and_throw.hpp Log-then-throw helper codifying the gtopt error convention.
- file log_format.hpp Centralised INFO-log number formatting helpers.
- file low_memory_snapshot.hpp FlatLinearProblem snapshot with persistent compression.
- file lp_build_error.hpp Single failure channel for
add_to_lp(LP assembly errors). - file lp_cache.hpp LpCache — post-solve scalar + vector cache for LinearInterface.
- file lp_class_name.hpp Defines the LPClassName struct with modern C++23 features.
- file lp_context.hpp Typed LP context tuples and label generation utilities.
- file lp_debug_writer.hpp LpDebugWriter – reusable LP debug file writer with async gzip.
- file lp_element_types.hpp Authoritative compile-time registry of all LP element types.
- file lp_equilibration.hpp Per-row equilibration primitives shared by the bulk LP build path and the post-build (cut) row-insertion path.
- file lp_file_format.hpp File format selector for LP model dumps (
--lp-file). - file lp_fingerprint.hpp LP structural fingerprint for formulation integrity verification.
- file lp_label_store.hpp Name / label subsystem of an LP matrix.
- file lp_matrix_enums.hpp Named enum types for LP matrix options.
- file lp_matrix_options.hpp Configuration options for LP matrix assembly.
- file lp_name_spill.hpp Async, Parquet-backed store for LP col/row label metadata.
- file lp_replay_buffer.hpp LpReplayBuffer — replay state for LowMemoryMode reconstruct.
- file lp_scales.hpp Machine-readable sidecar describing a written LP/MPS file.
- file lp_scaling.hpp LP-scaling subsystem of an LP matrix.
- file lp_snapshot_holder.hpp LpSnapshotHolder — snapshot + codec + compression facade.
- file lp_stats.hpp Static analysis of LP coefficient matrices for numerical conditioning diagnostics.
- file lp_validation.hpp Build-time LP numerical validation: thresholds and accumulator.
- file main_options.hpp Application command-line option parsing and configuration.
- file map_reserve.hpp Generic capacity-reservation helper for associative containers.
- file matrix_stats.hpp Matrix-wide numerical statistics for an LP matrix.
- file memory_compress.hpp In-memory compression/decompression for low_memory mode.
- file memory_monitor.hpp System and process memory monitoring.
- file mip_start.hpp Initial-MIP-solution (warm-start) generation & injection pipeline.
- file mip_start_dive.hpp Relaxation-guided propagation dive + verify/repair MIP start.
- file model_options.hpp Power system model configuration for LP construction.
- file monolithic_enums.hpp Named enum types for monolithic solver options.
- file monolithic_method.hpp Monolithic planning method — solves each (scene, phase) LP independently using a parallel work pool.
- file monolithic_options.hpp Monolithic solver configuration parameters.
- file multi_array_2d.hpp Minimal 2D array wrapper around std::vector.
- file mvector_traits.hpp Recursive multi-dimensional vector traits.
- file names_registry.hpp Runtime-loadable dictionary of gtopt JSON key aliases.
- file node.hpp Generic carrier-tagged balance-node template.
- file object.hpp Core object types and utilities for the optimization framework.
- file object_lp.hpp Linear programming wrapper for objects in the optimization model.
- file object_utils.hpp Utility methods for objects in the optimization framework.
- file output_context.hpp Output context for writing LP results to Parquet/CSV.
- file overload.hpp Overload pattern for combining multiple callables.
- file pampl_parser.hpp Parser for pseudo-AMPL (.pampl) user constraint files.
- file phase.hpp Defines the Phase structure for multi-phase optimization problems.
- file phase_lp.hpp Linear programming phase representation.
- file phase_range_set.hpp Parse and query phase range expressions for relaxed UC binaries.
- file planning.hpp Header of Planning class.
- file planning_enums.hpp Named enum types for planning options.
- file planning_lp.hpp
- file planning_method.hpp Abstract interface for planning methods and factory function.
- file planning_options.hpp Global configuration parameters for power system optimization.
- file planning_options_lp.hpp Wrapper for PlanningOptions with default value handling.
- file plant.hpp Declarative grouping of generator configuration variants.
- file plant_lp.hpp LP build path for Plant elements.
- file plugin_integrity.hpp Verify that a solver plugin is the one built with this gtopt.
- file position_vector.hpp std::vector addressed by ONE strong positional index type
- file pricing_mode.hpp Post-MIP pricing methods (fixed / relaxed / fast-start).
- file process_util.hpp Safe helpers for locating and spawning external tools.
- file profile_object_lp.hpp Base class for profile-based LP objects.
- file pump.hpp Defines the Pump structure representing a hydraulic pump unit.
- file pump_lp.hpp Defines the PumpLP class for linear programming representation.
- file reserve_provision.hpp Defines ReserveProvision – generator contribution to a reserve zone.
- file reserve_provision_lp.hpp LP formulation for reserve provisions.
- file reserve_zone.hpp Defines the ReserveZone structure for spinning-reserve modeling.
- file reserve_zone_lp.hpp LP formulation for reserve zones.
- file reservoir.hpp Defines the Reservoir structure representing a water reservoir.
- file reservoir_discharge_limit.hpp Piecewise-linear volume-dependent discharge limit for reservoirs.
- file reservoir_discharge_limit_lp.hpp LP representation of a ReservoirDischargeLimit constraint.
- file reservoir_lp.hpp Defines the ReservoirLP class for linear programming representation.
- file reservoir_production_factor.hpp Piecewise-linear turbine production factor as a function of reservoir volume (hydraulic head).
- file reservoir_production_factor_lp.hpp LP representation of reservoir-dependent turbine production factor.
- file reservoir_seepage.hpp Piecewise-linear water seepage (seepage) from a reservoir.
- file reservoir_seepage_lp.hpp Linear Programming representation of a ReservoirSeepage system.
- file resolve_planning_args.hpp Resolve planning file arguments and directory context.
- file resource_governor.hpp Process-global GPU admission (per-device token bucket).
- file right_bound_rule.hpp Volume-dependent piecewise-linear bound rule for water rights.
- file risk_measure.hpp Risk measure option (expected cost / mean-CVaR).
- file risk_measure_lp.hpp LP construct of the mean-CVaR objective (risk_measure = cvar).
- file sanity_options.hpp Thresholds for the data-quality (sanity) warnings of validate_planning.
- file scenario.hpp Stochastic scenario definition for power system planning.
- file scenario_lp.hpp
- file scene.hpp Scene data structure for grouping scenarios.
- file scene_lp.hpp Header for SceneLP class that represents a logical scene with LP scenario elements.
- file scene_merge.hpp Merge the scenes spanned by a nonanticipative DecisionVariable.
- file schedule.hpp Header of FieldSched type.
- file scoped_stdout_silencer.hpp Thread-safe RAII redirect of fd 1 (stdout) to /dev/null.
- file sddp_aperture.hpp Aperture backward-pass logic for SDDP solver.
- file sddp_aperture_drops.hpp Cross-iteration bookkeeping of dropped (infeasible) apertures.
- file sddp_capacity_cuts.hpp Capacity-space projection of stored SDDP Benders cuts — the cut-extraction API for the OptGen-style investment master loop (deliverable 3 of the SDDiP campaign).
- file sddp_common.hpp Common types and forward declarations for the SDDP subsystem.
- file sddp_cut_io.hpp Cut persistence (save/load) for SDDP solver.
- file sddp_cut_io_internal.hpp Internal helpers shared by sddp_cut_io split TUs.
- file sddp_cut_sharing.hpp SDDP cut sharing across scenes.
- file sddp_cut_store.hpp Per-scene + manager-level storage for SDDP Benders cuts.
- file sddp_cut_store_enums.hpp Enumerations for SDDP Benders cut storage.
- file sddp_enums.hpp Named enum types for SDDP and boundary-cut options.
- file sddp_forward_crossover.hpp Forward-pass crossover policy and the interior-dual cut guard.
- file sddp_investment_master.hpp OptGen-style investment-master Benders loop — a MIP master over here-and-now integer expansion builds coupled to the gtopt operational SDDP through capacity-space Benders cuts (deliverable 4 of the SDDiP campaign; design in docs/analysis/investigations/sddp/sddip_integer_expansion_2026-07.md §7).
- file sddp_method.hpp SDDP (Stochastic Dual Dynamic Programming) method for multi-phase planning problems with state variable coupling.
- file sddp_options.hpp SDDP-specific solver configuration parameters.
- file sddp_pool.hpp SDDP-specialised work pool: SDDPTaskKey, SDDPWorkPool, and factory.
- file sddp_scene_tracker.hpp Per-scene iteration tracker for asynchronous SDDP execution.
- file sddp_types.hpp Data types for the SDDP iterative solver.
- file sha256.hpp FIPS 180-4 SHA-256 (self-contained, no OpenSSL dependency).
- file simple_commitment.hpp Deprecated SimpleCommitment input alias.
- file simulation.hpp Header of Simulation class.
- file simulation_lp.hpp
- file single_id.hpp Single-value identifier types (UID or name) for component lookup.
- file solution_csv.hpp Row model + formatting for the solver-diagnostics
solution.csv. - file solve_outcome.hpp Tri-state outcome of a solver invocation.
- file solver_backend.hpp Abstract solver backend interface for LP/MIP solvers.
- file solver_build_info.hpp Plugin-exported identity: solver-library versions and build tag.
- file solver_cfg.hpp Solver tuning-file loader: INI
.cfgwith named enum values. - file solver_enums.hpp Named enum types for LP solver options.
- file solver_monitor.hpp Solver monitoring API: real-time workpool statistics and JSON status file for SDDP and Monolithic solvers.
- file solver_options.hpp Linear programming solver configuration options.
- file solver_param_file.hpp Resolve relative
solver_options.param_filepaths against the caseinput_directory. - file solver_registry.hpp Dynamic solver plugin registry with dlopen support.
- file solver_resource.hpp Resource class + descriptor a solver backend declares to the pool.
- file solver_stats.hpp Aggregated solver-activity counters for end-of-run reporting.
- file solver_status.hpp Solver monitoring API: write iteration status to a JSON file.
- file solver_tier.hpp Tier-2 solver executor seam for the SDDP method.
- file sparse_col.hpp Sparse column representation for linear programming variables.
- file sparse_row.hpp Sparse row representation for linear programming constraints.
- file stable_vector.hpp Append-only random-access container with stable references.
- file stage.hpp Planning-period (stage) definition for power system optimization.
- file stage_enums.hpp Named enum types for stage configuration.
- file stage_lp.hpp Header file defining the StageLP class for linear programming stages.
- file stage_month_guard.hpp Fail-fast guards for calendar-month dependent LP assembly.
- file state_variable.hpp State variables and dependencies for linear programming problems.
- file storage_integration.hpp Banded (local Lagrange) integration weights for storage balances on non-uniform node grids.
- file storage_lp.hpp LP formulation for energy storage elements.
- file storage_state_defaults.hpp Per-class defaults of
use_state_variable/daily_cycle. - file strong_index_vector.hpp Header for type-safe vector access with strong typing.
- file system.hpp Header of System class.
- file system_context.hpp Central execution context for power system optimization.
- file system_file_loader.hpp Load a
System(and optionalmodel_options) from an external Planning JSON file, with cascade-style path resolution. - file system_lp.hpp SystemLP class for power system linear programming formulation.
- file thermal_node.hpp Thermal-carrier balance node (CSP / district heat).
- file thermal_node_lp.hpp LP wrapper for
ThermalNode— carrier-side balance row. - file thermal_storage.hpp Thermal Energy Storage (TES) — CSP / district-heat storage.
- file thermal_storage_lp.hpp LP wrapper for the
ThermalStorageelement. - file transition_integrality.hpp Integrality of the commitment startup / shutdown / tier columns.
- file turbine.hpp Defines the Turbine structure representing a hydroelectric turbine.
- file turbine_lp.hpp Defines the TurbineLP class for linear programming representation.
- file uid.hpp Passkey-gated strong UID type
UidOf<Tag>+make_uidfactory. - file uid_traits.hpp Traits for UID-based data access.
- file uididx_traits.hpp Header for UID-to-index mapping traits for Arrow tables and vectors.
- file unit_registry.hpp Runtime-loadable dictionary of (class, canonical, dialect) → unit.
- file update_context.hpp Self-cached context for HasUpdateLP elements.
- file user_constraint.hpp User-defined constraint data structure for LP formulation.
- file user_constraint_enums.hpp Enumerations for user-defined constraint configuration.
- file user_constraint_lp.hpp LP element for user-defined constraints.
- file user_model.hpp UserModel element — a self-contained AMPL model fragment.
- file user_model_lp.hpp LP representation of a UserModel (generic AMPL capture) element.
- file user_param.hpp User-defined named parameters for constraint expressions.
- file utils.hpp General purpose utility functions and helpers.
- file validate_planning.hpp Semantic validation of a parsed Planning object.
- file variable_scale.hpp VariableScale struct and VariableScaleMap for LP variable scaling.
- file volume_right.hpp Volume-based water right (derechos de volumen).
- file volume_right_lp.hpp LP representation of volume-based water rights.
- file warn_once.hpp Thread-safe "log this warning only once" helper.
- file waterway.hpp Header for waterway components in hydro power systems.
- file waterway_lp.hpp LP formulation for waterways between junctions.
- file work_pool.hpp Adaptive thread pool with CPU monitoring and priority scheduling.
- file work_pool_diagnostics.hpp Pure helpers behind the WorkPool periodic / final log lines.
-
dir json
-
dir source
- file allowance_pool_lp.cpp Implementation of AllowancePoolLP (Phase 2 — banking only).
- file ampl_dispatch_registry.cpp AMPL parameter + iterator dispatch table population.
- file aperture_data_cache.cpp Implementation of ApertureDataCache.
- file array_index_traits.cpp Input data access implementation.
- file basis_io.cpp Binary (de)serialization of a solver-agnostic simplex
Basis. - file battery_lp.cpp Implementation of BatteryLP class for battery LP formulation.
- file benders_cut.cpp Modular Benders cut construction and handling – implementation.
- file build_info.cpp Version and source revision of the running gtopt build.
- file bus_island.cpp Connected-component (island) detection for bus networks.
- file bus_lp.cpp Implementation of BusLP class for bus linear programming.
- file capacity_object_lp.cpp Implementation of capacity-constrained object LP formulation.
- file capacity_profile_lp.cpp Unified
CapacityProfileLPimplementation (kind-dispatched). - file carrier_converter_lp.cpp Implementation of CarrierConverterLP (multi-carrier converter).
- file carrier_node_lp.cpp CarrierNodeLP balance rows (thermal / hydrogen / ammonia).
- file carrier_storage_lp.cpp CarrierStorageLP — thermal / hydrogen / ammonia storage.
- file cascade_method.cpp Multi-level cascade method implementation.
- file cascade_progress.cpp Read/write the cascade resume checkpoint files.
- file check_lp.cpp Implementation of run_check_lp_diagnostic() and run_check_json_info().
- file check_solvers.cpp Implementation of the C++ solver plugin test suite.
- file cli_options.cpp Implementation of the modern C++ command-line option parser.
- file commitment_lp.cpp LP formulation for unit commitment (three-bin u/v/w model).
- file commitment_power_based.cpp Power-based unit-commitment rows (Morales-España et al.).
- file constraint_parser.cpp Implementation of the user constraint expression parser.
- file converter_lp.cpp Implementation of converter LP formulation.
- file cost_helper.cpp Implementation of cost factor computation helpers.
- file cpu_monitor.cpp CPU monitoring implementation with C++23 optimizations.
- file decision_variable_lp.cpp LP build path for DecisionVariable elements.
- file demand_lp.cpp Implementation of demand LP formulation.
- file demand_profile_lp.cpp Implementation of demand profile LP formulation.
- file domain_rules.cpp Domain (power-system) commitment-repair rules + pipeline.
- file element_column_resolver.cpp Resolve LP column indices for user-constraint element references.
- file emission_lp.cpp Implementation of EmissionLP (passive pollutant tag).
- file emission_source_lp.cpp Substitute-out wiring for
EmissionSource— every per-MWh emission contribution is stamped directly onto the generator dispatch column. - file emission_zone_lp.cpp LP-active wiring for EmissionZone — cap row only.
- file fcut_log.cpp PLP-style feasibility-cut debug log implementation.
- file flat_helper.cpp Implementation of flat index helpers for scenario/stage/block.
- file flow_lp.cpp Implementation of FlowLP methods.
- file flow_right_lp.cpp Implementation of FlowRightLP methods.
- file fuel_lp.cpp Implementation of FuelLP — parameter carrier + offtake cap/floor.
- file future_cost_aliases.cpp Translate the deprecated boundary-cut option keys into FutureCost.
- file future_cost_lp.cpp LP build / output path for FutureCost (FCF / cost-to-go) elements.
- file gas_compressor_lp.cpp Implementation of GasCompressorLP (ratio rows + fuel model).
- file gas_demand_lp.cpp Implementation of GasDemandLP.
- file gas_node_lp.cpp Implementation of GasNodeLP (π column + gas balance row).
- file gas_physics.cpp Steady-state natural-gas physics used by the gas-network LP.
- file gas_pipe_lp.cpp Implementation of GasPipeLP (Weymouth tangents + line pack).
- file gas_slp.cpp Sequential LP for linearised (meshed) gas pipes.
- file gas_supply_lp.cpp Implementation of GasSupplyLP.
- file gas_turbine_lp.cpp Implementation of GasTurbineLP (fuel term + pressure gate).
- file generator_lp.cpp Implementation of GeneratorLP class for generator LP formulation.
- file generator_profile_lp.cpp Implementation of generator profile LP operations.
- file gpu_monitor.cpp NVML-backed GpuMonitor implementation (runtime dlopen).
- file gtopt_cli.cpp Command-line front end of the gtopt standalone binary.
- file gtopt_json_io.cpp Stub — functions split into gtopt_json_io_{parse,write,set,uc}.cpp.
- file gtopt_json_io_parse.cpp JSON parsing of Planning files (split from gtopt_json_io.cpp).
- file gtopt_json_io_set.cpp –set key=value overlay for Planning (split from gtopt_json_io.cpp)
- file gtopt_json_io_uc.cpp User constraint loading (split from gtopt_json_io.cpp).
- file gtopt_json_io_write.cpp JSON serialization of Planning (split from gtopt_json_io.cpp).
- file gtopt_lp_runner.cpp LP build, solve, stats, and output writing.
- file gtopt_main.cpp Thin orchestrator for the gtopt optimizer.
- file hardware_info.cpp Physical core detection via Linux sysfs topology.
- file hydrogen_demand_lp.cpp Implementation of HydrogenDemandLP (hydrogen offtake).
- file ieee738.cpp
- file inertia_provision_lp.cpp LP formulation for inertia provisions.
- file inertia_zone_lp.cpp LP formulation for inertia zones.
- file input_context.cpp Implementation of InputContext and element_index instantiations.
- file input_traits.cpp
- file json_canonicalize.cpp Implementation of the JSON key-alias rewriter.
- file json_schema.cpp Implementation of the JSON Schema dump for the Planning model.
- file junction_lp.cpp Implementation of junction LP formulation.
- file kappa_mode.cpp Default
kappa_moderesolution (env + compiled default). - file kirchhoff_cycle_basis.cpp
- file kirchhoff_node_angle.cpp
- file label_maker.cpp Implementation of LabelMaker: the single LP label formatter.
- file line_commitment_lp.cpp LP formulation for Optimal Transmission Switching (issue #509).
- file line_direction.cpp
- file line_dlr_lp.cpp
- file line_lindistflow.cpp LinDistFlow rows of a line (
network_model = "lindistflow"). - file line_losses.cpp
- file line_lp.cpp
- file line_thermal_resistance.cpp
- file linear_interface.cpp LinearInterface implementation — solver-agnostic via SolverBackend.
- file linear_interface_labels.cpp LinearInterface label synthesis, compression, and write_lp.
- file linear_interface_labels_codec.cpp Byte-level (de)serializer for LP column / row label metadata.
- file linear_interface_solve.cpp LinearInterface solve dispatch — initial_solve / resolve.
- file linear_problem.cpp Implementation of the linear programming problem representation.
- file lng_terminal_lp.cpp Implementation of LngTerminalLP class.
- file lp_debug_writer.cpp Implementation of LpDebugWriter.
- file lp_equilibration.cpp Implementation of the per-row equilibration primitives.
- file lp_fingerprint.cpp LP structural fingerprint computation and JSON output.
- file lp_name_spill.cpp Async, Parquet-backed LP col/row label-metadata store (see header).
- file lp_scales.cpp Build and write the
<stem>.scales.jsonLP sidecar and its Parquet tables. - file lp_stats.cpp Implementation of LP coefficient static analysis logging.
- file lp_validation.cpp Implementation of build-time LP validation hooks.
- file memory_compress.cpp In-memory compression/decompression for low_memory mode.
- file memory_monitor.cpp Memory monitoring implementation via /proc filesystem.
- file mip_start.cpp Initial-MIP-solution (warm-start) pipeline implementation.
- file mip_start_dive.cpp Relaxation-guided propagation dive + verify/repair MIP start.
- file mip_start_scip.cpp Optional SCIP repair STAGE of the MIP-start pipeline.
- file monolithic_method.cpp Implementation of MonolithicMethod::solve().
- file names_registry.cpp Implementation of the runtime-loadable naming dictionary.
- file output_context.cpp Implementation of output context for Parquet/CSV writing.
- file pampl_parser.cpp Implementation of the pseudo-AMPL (.pampl) constraint file parser.
- file planning_lp.cpp Implementation of linear programming planning.
- file planning_method.cpp Factory for planning method instances (monolithic, SDDP, cascade).
- file planning_options_lp.cpp Out-of-line PlanningOptionsLP members.
- file plant_lp.cpp LP build path for Plant elements.
- file plugin_integrity.cpp Verify that a solver plugin is the one built with this gtopt.
- file process_util.cpp Safe helpers for locating and spawning external tools.
- file pump_lp.cpp Implementation of PumpLP class.
- file reserve_provision_lp.cpp
- file reserve_zone_lp.cpp LP formulation for reserve zones (fixed and plane-based).
- file reservoir_discharge_limit_lp.cpp Implementation of ReservoirDischargeLimitLP methods.
- file reservoir_lp.cpp Implementation of ReservoirLP class.
- file reservoir_production_factor_lp.cpp Implementation of ReservoirProductionFactorLP and coefficient updates.
- file reservoir_seepage_lp.cpp Implementation of ReservoirSeepageLP methods.
- file resolve_planning_args.cpp Resolve planning file arguments and directory context.
- file resource_governor.cpp ResourceGovernor implementation (per-device GPU token bucket).
- file risk_measure_lp.cpp Mean-CVaR objective over the scenarios of a (scene, phase) LP.
- file scene_merge.cpp Merge the scenes spanned by a nonanticipative DecisionVariable.
- file sddp_aperture.cpp Aperture backward-pass logic for SDDP solver.
- file sddp_aperture_drops.cpp Cross-iteration bookkeeping of dropped (infeasible) apertures.
- file sddp_aperture_pass.cpp Aperture backward pass methods for SDDPMethod.
- file sddp_boundary_cuts.cpp Boundary (future-cost) cuts for SDDP — load path.
- file sddp_capacity_cuts.cpp Capacity-space projection of stored SDDP Benders cuts — implementation.
- file sddp_common.cpp Out-of-line implementations for SDDP common helpers.
- file sddp_cut_io.cpp Cut persistence (save/load) for SDDP solver.
- file sddp_cut_parquet.cpp Apache Parquet save / load for SDDP cuts.
- file sddp_cut_sharing.cpp SDDP cut sharing across scenes — implementation.
- file sddp_cut_store.cpp Thread-safe storage for SDDP Benders cuts — implementation.
- file sddp_forward_pass.cpp SDDP forward pass implementation.
- file sddp_investment_master.cpp OptGen-style investment-master Benders loop — implementation.
- file sddp_iteration.cpp SDDP main iteration loop (solve method).
- file sddp_method.cpp SDDP (Stochastic Dual Dynamic Programming) method implementation.
- file sddp_method_alpha.cpp SDDPMethod alpha-variable & state-variable lifecycle.
- file sddp_method_cut_store.cpp SDDPMethod cut-store helpers + cut/state persistence.
- file sddp_method_iteration.cpp SDDPMethod per-iteration coordination + diagnostics.
- file sha256.cpp FIPS 180-4 SHA-256 (self-contained, no OpenSSL dependency).
- file simulation_lp.cpp Implementation of linear programming simulation.
- file solver_backend.cpp Non-inline helpers for the SolverBackend plugin interface.
- file solver_param_file.cpp Resolve relative
solver_options.param_filepaths against the caseinput_directory. - file solver_registry.cpp Dynamic solver plugin registry implementation.
- file solver_status.cpp Solver monitoring API implementation.
- file system.cpp Header of System class methods.
- file system_context.cpp Implementation of SystemContext initialization.
- file system_file_loader.cpp Implementation of the external-Planning-JSON system loader.
- file system_lp.cpp Implementation of SystemLP class for power system LP formulation.
- file turbine_lp.cpp Implementation of TurbineLP class.
- file unit_registry.cpp Implementation of UnitRegistry — see header for the design.
- file user_constraint_lp.cpp LP element implementation for user-defined constraints.
- file user_model_lp.cpp LP build / output path for UserModel (generic AMPL capture).
- file validate_planning.cpp Semantic validation of a parsed Planning object.
- file validate_planning_sanity.cpp Data-quality (sanity) warnings for a parsed Planning object.
- file volume_right_lp.cpp Implementation of VolumeRightLP methods.
- file waterway_lp.cpp Implementation of waterway LP formulation.
- file work_pool.cpp
- file BUILDING.md
- file CHANGELOG.md
- file CONTRIBUTING.md
- file input-data.md
- file cascade.md
- file monolithic.md
- file sddp.md
- file planning-guide.md
- file planning-options.md
- file scripts-guide.md
- file usage.md
- file user-constraints.md
- file about.dox
- file modules.dox
- file test_coverage.md
- file README.md