|
| | GenPOMovingBlockMIPSolver ()=default |
| | GenPOMovingBlockMIPSolver (const instances::GeneralPerformanceOptimizationInstance &instance) |
template<typename... Args>
requires (!IsSingleInstanceArgument<Args...>::value) |
| | GenPOMovingBlockMIPSolver (Args &&... args) |
| | ~GenPOMovingBlockMIPSolver () override=default |
| instances::SolGeneralPerformanceOptimizationInstance | solve (int time_limit, bool debug_input, bool overwrite_severity) override |
| instances::SolGeneralPerformanceOptimizationInstance | solve (const ModelDetailMovingBlock &model_detail_input, const SolverStrategyMovingBlock &solver_strategy_input, const SolutionSettingsMovingBlock &solution_settings_input, int time_limit=-1, bool debug_input=false, bool overwrite_severity=true) |
| | Solves the instance under moving block signaling.
|
| 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::SolGeneralPerformanceOptimizationInstance | 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_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::SolGeneralPerformanceOptimizationInstance &solution, const GeneralSolutionSettings &solution_settings, FurtherData const &further_data={}) |
| | Exports the solution together with the solver data if requested.
|
Routes the trains of a moving block instance by a MILP.
The model decides, for every train, which edges it uses, at which velocity it passes every vertex, and at what time, where the velocities are taken from a discrete set per vertex, see VelocityRefinementStrategy. The separation of the trains is expressed by their order on the edges and TTD sections, whose headway constraints are separated lazily.
The model is built on separated station tracks, see instances::StopDiscretization, so that a train can also stop within a long platform, while the solution refers to the original network.