![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Objective value and the name-keyed variable table of one bound program. More...
#include <line/api/mapqn/mapqn_solution.h>
Public Member Functions | |
| T | get_variable (const std::string &name) const |
| The named variable, or zero when the model did not create it. | |
| T | get_utilization (int i) const |
| Aggregate utilization of queue i (1-based), as the QR models write it. | |
| T | get_utilization (int i, int k) const |
| Per-phase utilization, with the e_i_k spelling as the fallback. | |
| T | get_queue_length (int i) const |
| Aggregate mean queue length of queue i (1-based). | |
| T | get_queue_length (int i, int k) const |
| Per-phase mean queue length, as the LR model writes it. | |
| T | get_utilization_mva (int i, int k) const |
| The MVA-shaped variant's spellings (Mapqn_bnd_lr_mva). | |
| T | get_queue_length_mva (int i, int k) const |
Public Attributes | |
| T | objectiveValue = num_traits<T>::from_int(0) |
| std::map< std::string, T > | variables |
Objective value and the name-keyed variable table of one bound program.
Definition at line 47 of file mapqn_solution.h.
|
inline |
Aggregate mean queue length of queue i (1-based).
Definition at line 68 of file mapqn_solution.h.
References get_variable().
|
inline |
Per-phase mean queue length, as the LR model writes it.
Definition at line 71 of file mapqn_solution.h.
References get_variable().
|
inline |
Definition at line 79 of file mapqn_solution.h.
References get_variable().
|
inline |
Aggregate utilization of queue i (1-based), as the QR models write it.
Definition at line 58 of file mapqn_solution.h.
References get_variable().
|
inline |
Per-phase utilization, with the e_i_k spelling as the fallback.
Definition at line 61 of file mapqn_solution.h.
References get_variable().
|
inline |
The MVA-shaped variant's spellings (Mapqn_bnd_lr_mva).
Definition at line 76 of file mapqn_solution.h.
References get_variable().
|
inline |
The named variable, or zero when the model did not create it.
Definition at line 52 of file mapqn_solution.h.
References variables.
Referenced by get_queue_length(), get_queue_length(), get_queue_length_mva(), get_utilization(), get_utilization(), and get_utilization_mva().
| T line::mapqn::MapqnSolution< T >::objectiveValue = num_traits<T>::from_int(0) |
Definition at line 48 of file mapqn_solution.h.
| std::map<std::string, T> line::mapqn::MapqnSolution< T >::variables |
Definition at line 49 of file mapqn_solution.h.
Referenced by get_variable().