config_file.hpp file
Lightweight INI config file reader for .gtopt.conf.
Reads the standard ~/.gtopt.conf INI file used by all gtopt scripts. The [gtopt] section provides default values for the C++ binary's command-line options. They are defaults only; precedence is CLI flag > --set > planning JSON (last -s wins) > .gtopt.conf > built-in default (see MainOptions::config_defaults).
Search order
$GTOPT_CONFIGenvironment variable (exact path)./.gtopt.conf(current working directory)~/.gtopt.conf(home directory)
Format
[gtopt] solver = highs algorithm = barrier threads = 4 output-format = parquet output-compression = zstd sddp-max-iterations = 200
Namespaces
- namespace gtopt