9#ifndef FMTserializablematrix_H_INCLUDED
10#define FMTserializablematrix_H_INCLUDED
16#include <boost/serialization/vector.hpp>
18class OsiSolverInterface;
19class CoinPackedMatrix;
35 std::unique_ptr<CoinPackedMatrix> matrix;
38 std::vector<double>collb;
41 std::vector<double>colub;
44 std::vector<double>obj;
47 std::vector<double>rowlb;
50 std::vector<double>rowub;
53 std::vector<double>colsolution;
56 std::vector<double>rowprice;
61 friend class boost::serialization::access;
62 template<
class Archive>
63 void serialize(Archive& ar,
const unsigned int version)
65 const bool loading = Archive::is_loading::value;
74 std::vector<double> lelement;
75 std::vector<int> lindex;
76 std::vector<int> llength;
77 std::vector<int> lstart;
79 std::vector<double> lcollb;
80 std::vector<double> lcolub;
81 std::vector<double> lobj;
82 std::vector<double> lrowlb;
83 std::vector<double> lrowub;
84 std::vector<double> lcolsolution;
85 std::vector<double> lrowprice;
88 getsetmatrixelements(
false,
101 getsetmemberelements(
false,
132 getsetmatrixelements(
true,
145 getsetmemberelements(
true,
157 void getsetmatrixelements(
bool loading,
166 std::vector<double>& lelement,
167 std::vector<int>& lindex,
168 std::vector<int>& llength,
169 std::vector<int>& lstart);
170 void getsetmemberelements(
bool loading,
171 std::vector<double>&lcollb,
172 std::vector<double>&lcolub,
173 std::vector<double>&lobj,
174 std::vector<double>&lrowlb,
175 std::vector<double>&lrowub,
176 std::vector<double>&lcolsolution,
177 std::vector<double>&lrowprice);
209 void setmatrix(std::shared_ptr<OsiSolverInterface>& solverinterface)
const;
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTserializablematrix.hpp:32
void setmatrix(std::shared_ptr< OsiSolverInterface > &solverinterface) const
FMTserializablematrix(const FMTserializablematrix &rhs)
FMTserializablematrix(const std::shared_ptr< OsiSolverInterface > &solverinterface)
Namespace containing all enumerator and classes used to construct or manipulate the different type of...
Definition: FMTareaparser.hpp:50