5#ifndef LINE_SOLVERS_SOLVER_OPTIONS_H
6#define LINE_SOLVERS_SOLVER_OPTIONS_H
Dense matrix and non-owning view.
Conservation laws of a layered queueing network, enumerated from its structure.
The knobs a solver reads; a negative or empty field keeps the engine default.
SolverOptions & set_cnvgon(bool v)
bool keep
JMT options.keep: leave the scratch directory in place after the solve.
std::vector< std::size_t > cutoff_vec
SolverOptions & set_timeout(double v)
double spectral_low_freq_frac
LDES options.spectralLowFreqFrac, in (0,1]; non-positive keeps 0.25.
int ciminbatch
LDES options.ciminbatch / ciminobs; negative keeps the engine's 10 / 100.
SolverOptions & set_cache(bool v)
std::string multiserver
The options.config fields of the MVA / NC / fluid families.
SolverOptions & set_cutoff(double v)
SolverOptions & set_iter_max(int v)
SolverOptions & set_replications(int v)
bool force
options.force: CTMC downgrades its memory pre-gate refusal to a warning.
SolverOptions & set_cnvgbatch(int v)
SolverOptions & set_init_sol(const std::vector< double > &v)
std::size_t state_max
CTMC refusal threshold on the state-space size.
bool cnvgon
LDES convergence stopping: cnvgon, cnvgtol, cnvgbatch, cnvgchk; negative keeps the default.
double warmupfrac
options.warmupfrac, in [0,1): LDES under tranfilter=fixed, and SSA's discarded prefix.
SolverOptions & set_tranfilter(const std::string &v)
SolverOptions & set_timespan_end(double v)
int mserbatch
LDES options.mserbatch; non-positive keeps 5.
std::size_t events
options.events: the SSA / LDES event budget, overriding samples when set; 0 = not given.
std::vector< double > init_sol
SolverOptions & set_keep(bool v)
double cutoff
CTMC options.cutoff, scalar or per class.
SolverOptions & set_ciminobs(int v)
std::string cimethod
LDES options.cimethod: obm | bm | spectral | none; empty keeps obm.
std::size_t map_env_maxstages
options.config.map_env_maxstages: 0 keeps map2renv's own cap of 64.
SolverOptions & set_samples(std::size_t v)
SolverOptions & set_multiserver(const std::string &v)
SolverOptions & set_stiff(bool v)
Matrix< double > init_jobs
LDES options.init_jobs: one row per job, [station, class, remaining, elapsed, qage,...
double obmoverlap
LDES options.obmoverlap, in [0,1]; negative keeps 0.5.
SolverOptions & set_verbose(bool v)
SolverOptions & set_force(bool v)
SolverOptions & set_fork_join(const std::string &v)
std::string symbolic
options.config.symbolic: the computer-algebra backend to resolve.
SolverOptions & set_state_space_gen(const std::string &v)
SolverOptions & set_init_jobs(const Matrix< double > &v)
double timeout
options.timeout, seconds: the cooperative wall-clock budget LDES polls; <= 0 keeps none.
SolverOptions & set_timestep(double v)
SolverOptions & set_cnvgtol(double v)
SolverOptions & set_symbolic(const std::string &v)
int level
SolverBA options.level.
SolverOptions & set_cnvgchk(int v)
SolverOptions & set_highvar(const std::string &v)
SolverOptions & set_map_env_method(const std::string &v)
SolverOptions & set_events(std::size_t v)
SolverOptions & set_cimethod(const std::string &v)
std::string map_env_method
options.config.map_env_method: auto, meanfield, dec or avg.
SolverOptions & set_mserbatch(int v)
SolverOptions & set_iter_tol(double v)
SolverOptions & set_symbolic_timeout(int v)
SolverOptions & set_tol(double v)
SolverOptions & set_cutoff_vec(const std::vector< std::size_t > &v)
SolverOptions & set_map_env_maxstages(std::size_t v)
std::string fork_join
MVA / NC options.config.fork_join: 'default'/'mmt'/'fjt' or 'ht'.
double timespan_end
Fluid options.timespan(2) and warm start.
SolverOptions & set_method(const std::string &v)
SolverOptions & set_ciminbatch(int v)
std::string map_env
options.config.map_env: "auto" (or "default") lets a model whose ONLY unsupported features are non-re...
SolverOptions & set_state_max(std::size_t v)
SolverOptions & set_spectral_low_freq_frac(double v)
int replications
JMT options.config.replications: the independent JSIM runs the transient ensemble of default averages...
SolverOptions & set_track_jobs(bool v)
int symbolic_timeout
options.config.symbolic_timeout, seconds per symbolic request.
double timestep
options.timestep: CTMC fixed transient output step, fluid diffusion step; <= 0 keeps the default.
std::string state_space_gen
SSA options.config.state_space_gen.
SolverOptions & set_obmoverlap(double v)
SolverOptions & set_level(int v)
bool track_jobs
LDES options.track_jobs: return the end-of-run job state; implied by init_jobs.
double confint
options.confint: the confidence level of the half-widths JMT and LDES report, in (0,...
SolverOptions & set_confint(double v)
SolverOptions & set_seed(unsigned long v)
SolverOptions & set_map_env(const std::string &v)
SolverOptions & set_np_priority(const std::string &v)
bool cache
options.cache: reuse the solved tables on later calls to the same solver object.
SolverOptions & set_warmupfrac(double v)
std::string tranfilter
LDES options.tranfilter: mser5 | fixed | none; empty keeps mser5.