BCP_solution.cpp
Go to the documentation of this file.
1 // Copyright (C) 2000, International Business Machines
2 // Corporation and others. All Rights Reserved.
3 
4 #include "BCP_solution.hpp"
5 #include "BCP_var.hpp"
6 
7 void
9 {
10  const int num = _vars.size();
11  for (int i = 0; i < num; ++i) {
12  _vars[i]->display(_values[i]);
13  }
14 }
BCP_vec< BCP_var * > _vars
Vector of variables that are at nonzero level in the solution.
BCP_vec< double > _values
Values of these variables in the solution.
size_t size() const
Return the current number of entries.
Definition: BCP_vector.hpp:116
void display() const
Display the solution.
Definition: BCP_solution.cpp:8