The class that stores assignments from variables to values.
#include <solution.h>

Public Member Functions | |
| solution () | |
| creates the assignment where every variable is assigned to the value 0. | |
| bool | has_os () |
| void | set_zero () |
| sets all variables to zero | |
| void | save_solution (subproblem &s) |
| sets the assignemnt to the last LP-solution of s. | |
| void | round_to_integer (var v) |
| rounds the assignemnt of variable v to the closest integer. | |
| double | value (var v) |
| returns the assignment of v. | |
| double | value (row &r) |
| returns the assignment of r. | |
| void | set_value (var v, double d) |
| sets variable v to value d | |
| subproblem * | originating_subproblem () |
Definition at line 10 of file solution.h.
1.6.3