|
| | ~VSSGenTimetableSolver () override=default |
| | VSSGenTimetableSolver (const instances::GeneralPerformanceOptimizationInstance &instance) |
template<typename... Args>
requires (!IsSingleInstanceArgument<Args...>::value) |
| | VSSGenTimetableSolver (Args &&... args) |
| instances::SolVSSGeneralPerformanceOptimizationInstance | solve (const ModelDetailVSSGen &model_detail, const ModelSettingsVSSGen &model_settings={}, const SolverStrategyVSSGen &solver_strategy={}, const SolutionSettingsVSSGen &solution_settings={}, int time_limit=-1, bool debug_input=false, bool overwrite_severity=true) |
| | Solves the instance, adding as few VSS borders as possible.
|
| instances::SolVSSGeneralPerformanceOptimizationInstance | solve (int time_limit, bool debug_input, bool overwrite_severity) override |
| S | solve () |
| | Solves the problem instance using default configuration.
|
| S | solve (int time_limit, bool debug_input) |
| | Solves the problem instance.
|
| const nlohmann::json & | get_solver_data () const |
| | The solver data of the last solve, as written to solver_data.json if the solution is exported, so that it can be exported later. Null before the first solve.
|
| const instances::GeneralPerformanceOptimizationInstance & | get_instance () const |
| | Accesses the problem instance stored in this solver.
|
| instances::GeneralPerformanceOptimizationInstance & | editable_instance () |
| | Provides mutable access to the problem instance.
|
| instances::SolVSSGeneralPerformanceOptimizationInstance | solve () |
| | Solves the problem instance using default configuration.
|
| virtual | ~GeneralSolver ()=default |
| | Virtual destructor.
|
|
| void | cleanup () override |
| | Releases the model and the environment after solving.
|
| void | solve_init_vss_gen_timetable (bool debug_input, bool overwrite_severity) |
| | Initializes the logging and the Gurobi model.
|
| void | solve_init_general_mip (bool debug_input, bool overwrite_severity) |
| | Initializes the model with the default message callback.
|
| | GeneralMIPSolver ()=default |
| | Constructs a solver with a default-initialized problem instance.
|
| void | solve_init_general (bool debug_input, bool overwrite_severity) |
| | Initializes logging and records solver start time.
|
| | GeneralSolver ()=default |
| | Constructs a solver with a default-initialized problem instance.
|
| nlohmann::json | solver_data (FurtherData const &further_data) const |
| | Solver data, i.e., timing and further information (e.g. iterations, nodes, etc.), as written to solver_data.json.
|
| void | export_solver_data (std::filesystem::path const &export_directory, FurtherData const &further_data={}) |
| | Exports solver data, see solver_data, into solver_data.json.
|
| std::optional< std::filesystem::path > | export_general_solution (instances::SolVSSGeneralPerformanceOptimizationInstance &solution, const GeneralSolutionSettings &solution_settings, FurtherData const &further_data={}) |
| | Exports the solution together with the solver data if requested.
|
Adds as few VSS as possible so that the timetable can be operated.
The model is time-discretized: for every train and every time step it is decided where the train is, and the VSS borders have to separate every two trains that are on the same TTD section at the same time. In contrast to the moving block problem, the timetable is operated exactly as specified, so that the number of VSS borders is the only thing being minimized.