coin-or / FlopCpp

An open source algebraic modelling language implemented as a C++ class library
https://projects.coin-or.org/FlopC++
Other
10 stars 1 forks source link

fixed #include directive in MP_model.hpp #23

Open svigerske opened 5 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: mkaut

Original creation time: 2010-10-18 11:27:21

Assignee: somebody

Version:

I believe that the following include lines in MP_model.hpp are wrong:

#include <CoinPackedVector.hpp>
#include <CoinPackedMatrix.hpp>

The reason is that all Coin-OR libraries are by default installed into include/coin directory, so I believe the code should be

#include <coin/CoinPackedVector.hpp>
#include <coin/CoinPackedMatrix.hpp>

Actually, "CoinPackedVector.hpp" should work as well, but I think the above is better.

While this should probably be fixed also in the .cpp files, it is not as important there, since the build script uses local versions anyway. The header files, on the other hand, are used together with the installed version and hence must point to the right places (so people do not have to add include/coin dir. manually).

(I tried the Debian version of Coin-OR and FlopC++ models won't compile unless one changes the include paths..)