<div dir="ltr"><div dir="ltr"><div>
Hi List members,</div><div><br></div><div>I have a quick question about installing the coin-or OSI interface for CPLEX. <br></div><br></div><div dir="ltr">Following the <a href="https://projects.coin-or.org/Osi" rel="nofollow noreferrer">OSI website</a>, I compiled it from source (under Ubuntu 18.04) as follows:<div><div class="gmail-post-text">

<pre><code>./configure --with-cplex-incdir="$(pkg-config --variable=includedir lazycplex)/lazylpsolverlibs/ilcplex" \
            --with-cplex-lib="$(pkg-config --libs lazycplex)" \
            --with-gurobi-incdir="$(pkg-config --variable=includedir lazygurobi)/lazylpsolverlibs" \
            --with-gurobi-lib="$(pkg-config --libs lazygurobi)" \
            --with-xpress-incdir="$(pkg-config --variable=includedir lazyxprs)/lazylpsolverlibs" \
            --with-xpress-lib="$(pkg-config --libs lazyxprs)"
make
make test
sudo make install
</code></pre>

<p>But I cannot find the header file for CPLEX <code>OsiCplexSolverInterface.hpp</code> in <code>/usr/inclde/coin/</code>, while other files such as <code>/usr/include/coin/OsiClpSolverInterface.hpp</code> are present. <br></p><p></p>

<p>However, it is inside the build folder as <code>include/coin/OsiCpxSolverInterface.hpp</code>.</p><p>Then when I try to compile example code for cplex, it gives an error about missing 
<code>OsiCpxSolverInterface.hpp</code>

</p>

<p>Do I need to add options to <code>./configure</code> to let <code>make</code> install it to system folder?</p><p>(I prefer to install in system folder, rather than individual users' home folder; I've asked a question on StackOverflow: <a href="https://stackoverflow.com/questions/54614995">https://stackoverflow.com/questions/54614995</a>  but haven't got any answer so far.)<br></p></div></div><div><br></div><div>Thanks in advance,</div><div><br></div>

</div></div>