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. CLI flags always take precedence over config values.
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