source/ directory

Files

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 CapacityProfileLP implementation (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_mode resolution (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.json LP 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_file paths against the case input_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