-->

How to use lpsolve in omnet++ simple modules

2019-09-14 10:46发布

问题:

lpsolve can be called from a c++ program with main() but I am unable to use it in handlemesage() or any other user-defined method in omnet++ simulation.

Any help in this regard is appreciated.

Thanks

回答1:

Go to project properties --> omnet++ --> select SRC --> Options --> link --> Additional libraries to link with: ( -l option) and insert lpsolve55 and ok

Screenshot of the step1

Screenshot of the step2