scipopt / papilo

Parallel Presolve for Integer and Linear Optimization
GNU Lesser General Public License v3.0
64 stars 17 forks source link

How to use PAPILO library by Cmake #63

Closed linpeng0105 closed 2 months ago

linpeng0105 commented 2 months ago

I need your help! I build papilo and install papilo in a special path.

I need to use such classes: papilo::Presolve papilo::Problem papilo::Postsolve

Can you provide a simple cmakelist.txt code model to show how integrate papilo into my CPP project?

Thank you very much!

alexhoen commented 2 months ago

PaPILO is already integrated in SoPlex and SCIP. I would recommend to check out SoPlex and see how it is integrated there: https://github.com/scipopt/soplex

especially the CMakeList

https://github.com/scipopt/soplex/blob/master/CMakeLists.txt

linpeng0105 commented 2 months ago

thank you so much