Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 6.08 KB

02-command-line.md

File metadata and controls

56 lines (46 loc) · 6.08 KB
hide
toc

Command-line instructions

Executable: antares-solver

Simulation

command usage
-i, --input Study folder
--expansion Force the simulation in expansion mode
--economy Force the simulation in economy mode
--adequacy Force the simulation in adequacy mode
--parallel Enable parallel computation of MC years
--force-parallel=VALUE Override the max number of years computed simultaneously
--solver=VALUE The optimization solver to use. Possible values are: sirius (default), coin, xpress, scip

Parameters

command usage
-n, --name=VALUE Set the name of the new simulation
-g, --generators-only Run the time-series generators only
-c, --comment-file=VALUE Specify the file to copy as comments of the simulation
-f, --force Ignore all warnings at loading
--no-output Do not write the results in the output folder
-y, --year=VALUE Override the number of MC years
--year-by-year Force the writing the result output for each year (economy only)
--derated Force the derated mode
-z, --zip-output Write the results into a single zip archive

Optimization

command usage
--optimization-range Force the simplex optimization range ('day' or 'week')
--no-constraints Ignore all binding constraints
--no-ts-import Do not import timeseries into the input folder (this option may be useful for running old studies without upgrade)
-m, --mps-export Export anonymous MPS, weekly or daily optimal UC+dispatch linear (MPS will be named if the problem is infeasible)
-s, --named-mps-problems Export named MPS, weekly or daily optimal UC+dispatch linear
--solver-logs Print solver logs
--solver-parameters Set solver-specific parameters, for instance --solver-parameters="THREADS 1 PRESOLVE 1" for XPRESS or --solver-parameters="parallel/maxnthreads 1, lp/presolving TRUE" for SCIP. Syntax is solver-dependent, and only supported for SCIP & XPRESS.

Misc.

command usage
--progress Display the progress of each task
-p, --pid=VALUE Specify the file where to write the process ID
--list-solvers Display a list of LP solvers available through OR-Tools and exit
-v, --version Print the version of the solver and exit
-h, --help Display this help and exit