Main Page   Class Hierarchy   Compound List   File List   Contact   Download   Symbolic Constraints   Examples  

SCIL::solution Class Reference

The class that stores assignments from variables to values.

#include <solution.h>

Collaboration diagram for SCIL::solution:
Collaboration graph
[legend]

List of all members.

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
subproblemoriginating_subproblem ()

Detailed Description

Definition at line 10 of file solution.h.


The documentation for this class was generated from the following files:
Generated on Mon Mar 28 22:03:53 2011 for SCIL by  doxygen 1.6.3