Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace command line parsing library for Cpp11 #2211

Merged
merged 9 commits into from
Mar 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
lcov --remove cov.info "extern/pdqsort/*" -o cov.info
lcov --remove cov.info "extern/zstr/*" -o cov.info
lcov --remove cov.info "extern/catch*" -o cov.info
lcov --remove cov.info "app/cxxopts*" -o cov.info
lcov --remove cov.info "app/CLI11*" -o cov.info
lcov --remove cov.info "src/test*" -o cov.info
lcov --list cov.info
mv cov.info coverage.info
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,6 @@ result

# Extra unit tests
highs-unit-tests
highs-problem-set
highs-problem-set

build-latest
58 changes: 35 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,29 +145,41 @@ is:

```
$ bin/highs --help
HiGHS options
Usage:
bin/highs [OPTION...] [file]

--model_file arg File of model to solve.
--read_solution_file arg File of solution to read.
--options_file arg File containing HiGHS options.
--presolve arg Presolve: "choose" by default - "on"/"off"
are alternatives.
--solver arg Solver: "choose" by default - "simplex"/"ipm"
are alternatives.
--parallel arg Parallel solve: "choose" by default -
"on"/"off" are alternatives.
--run_crossover arg Run crossover: "on" by default -
"choose"/"off" are alternatives.
--time_limit arg Run time limit (seconds - double).
--solution_file arg File for writing out model solution.
--write_model_file arg File for writing out model.
--random_seed arg Seed to initialize random number generation.
--ranging arg Compute cost, bound, RHS and basic solution
ranging.
--version Print version.
-h, --help Print help.
usage:
./bin/highs [options] [file]

options:
--model_file file File of model to solve.
--options_file file File containing HiGHS options.
--read_solution_file file File of solution to read.
--presolve text Set presolve option to:
"choose" * default
"on"
"off"
--solver text Set solver option to:
"choose" * default
"simplex"
"ipm"
--parallel text Set parallel option to:
"choose" * default
"on"
"off"
--run_crossover text Set run_crossover option to:
"choose"
"on" * default
"off"
--time_limit float Run time limit (seconds - double).
--solution_file text File for writing out model solution.
--write_model_file text File for writing out model.
--random_seed int Seed to initialize random number
generation.
--ranging text Compute cost, bound, RHS and basic
solution ranging:
"on"
"off" * default
-v, --version Print version.
-h, --help Print help.

```
For a full list of options, see the [options page](https://ergo-code.github.io/HiGHS/stable/options/definitions/) of the documentation website.

Expand Down
Loading
Loading