Reference

Options

A reference for the options to configure shift scheduling.

These are the default options that are available with shift scheduling.

Nextmv Hybrid Optimization Platform VERSION
Usage:
  -limits.day.maxduration duration
    	maximum working time per day (env LIMITS_DAY_MAX_DURATION) (default 10h0m0s)
  -limits.shift.maxduration duration
    	maximum working time per shift (env LIMITS_SHIFT_MAX_DURATION) (default 8h0m0s)
  -limits.shift.minduration duration
    	minimum working time per shift (env LIMITS_SHIFT_MIN_DURATION) (default 2h0m0s)
  -limits.shift.recoverytime duration
    	minimum time between shifts (env LIMITS_SHIFT_RECOVERY_TIME) (default 8h0m0s)
  -limits.week.maxduration duration
    	maximum working time per week (env LIMITS_WEEK_MAX_DURATION) (default 40h0m0s)
  -penalty.oversupply float
    	penalty for over-supplying a demand (env PENALTY_OVER_SUPPLY) (default 1000)
  -penalty.undersupply float
    	penalty for over-supplying a demand (env PENALTY_UNDER_SUPPLY) (default 500)
  -runner.input.path string
    	The input file path (env RUNNER_INPUT_PATH)
  -runner.output.path string
    	The output file path (env RUNNER_OUTPUT_PATH)
  -runner.output.solutions string
    	{all, last} (env RUNNER_OUTPUT_SOLUTIONS) (default "last")
  -runner.profile.cpu string
    	The CPU profile file path (env RUNNER_PROFILE_CPU)
  -runner.profile.memory string
    	The memory profile file path (env RUNNER_PROFILE_MEMORY)
  -solve.control.bool string
    	List of solver-specific control options (configurations) with bool values. Example: "name1=value1,name2=value2", where value1 and value2 are bool values. (env SOLVE_CONTROL_BOOL)
  -solve.control.float string
    	List of solver-specific control options (configurations) with float values. Example: "name1=value1,name2=value2", where value1 and value2 are float values. (env SOLVE_CONTROL_FLOAT)
  -solve.control.int string
    	List of solver-specific control options (configurations) with int values. Example: "name1=value1,name2=value2", where value1 and value2 are int values. (env SOLVE_CONTROL_INT)
  -solve.control.string string
    	List of solver-specific control options (configurations) with string values. Example: "name1=value1,name2=value2", where value1 and value2 are string values. (env SOLVE_CONTROL_STRING)
  -solve.duration duration
    	Maximum duration of the solver. (env SOLVE_DURATION) (default 30s)
  -solve.mip.gap.absolute float
    	Absolute gap stopping value. If the problem is an integer problem the solver will stop if the gap between the relaxed problem and the best found integer problem is less than this value. (env SOLVE_MIP_GAP_ABSOLUTE) (default 1e-06)
  -solve.mip.gap.relative float
    	Relative gap stopping value. If the problem is an integer problem the solver will stop if the relative gap between the relaxed problem and the best found integer problem is less than this value. (env SOLVE_MIP_GAP_RELATIVE) (default 0.0001)
  -solve.verbosity value
    	{off, low, medium, high} Verbosity of the solver in the console. (env SOLVE_VERBOSITY)
Copy

Valid time units for -solver.duration are as follows, according to time.ParseDuration from Go's standard library:

  • ns (nanoseconds)
  • us/µs (microseconds)
  • ms (milliseconds)
  • s (seconds)
  • m (minutes)
  • h (hours)

Page last updated