<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear All,<div>&nbsp; &nbsp; &nbsp; I tried to use OSI interface in bicriteria.c file (in SYMPHONY/Examples) but I have some problems to set this up.</div><div>This is the bicriteria.c file.</div><div><div>#ifdef USE_OSI_INTERFACE</div><div><br></div><div>#include "OsiSymSolverInterface.hpp"</div><div><br></div><div>int main(int argc, char **argv)</div><div>{</div><div><span style="font-size: 12pt;">&nbsp; OsiSymSolverInterface si;</span></div><div>&nbsp; si.parseCommandLine(argc, argv);</div><div>&nbsp; si.loadProblem();</div><div><br></div><div>&nbsp; si.setObj2Coeff(1, 1);</div><div><br></div><div>&nbsp; si.multiCriteriaBranchAndBound();</div><div><br></div><div>&nbsp; return(0);</div><div><br></div><div>}</div><div><br></div><div>#else</div><div><br></div><div>#include "symphony.h"</div><div><br></div><div>int main(int argc, char **argv)</div><div>{</div><div>&nbsp; &nbsp;sym_environment *env = sym_open_environment();</div><div>&nbsp; &nbsp;sym_parse_command_line(env, argc, argv);</div><div>&nbsp; &nbsp;sym_load_problem(env);</div><div><br></div><div>&nbsp; &nbsp;sym_set_obj2_coeff(env, 1, -1);</div><div><br></div><div>&nbsp; &nbsp;sym_mc_solve(env);</div><div><br></div><div>&nbsp; &nbsp;sym_close_environment(env);</div><div><br></div><div>&nbsp; &nbsp;return(0);</div><div><br></div><div>}</div><div><br></div><div>#endif</div></div><div><br></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">This is the comment in config file</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;"><div># If you wish to compile and use SYMPHONY or one of the application through</div><div># the SYMPHONY OSI interface, set USE_OSI_INTERFACE to TRUE below. This will</div><div># only have the main function to call the OSI SYMPHONY interface. See the</div><div># corresponding main function for the implementation. Note that</div><div># you must have COIN and OSI SYMPHONY interface installed to use this</div><div># capability. See above to set the path to the COIN root directory.</div><div><br></div><div>I already set&nbsp;<span style="font-size: 12pt;">USE_OSI_INTERFACE = TRUE and make, make install again. &nbsp;Are the COIN and OSI SYMPHONY interface installed with the SYMPHONY-5.4.8?</span></div><div>Does anybody have an idea what should I do to fix use OSI interface? &nbsp;</div><div>I am sorry for a long email.</div><div><br></div><div>Thank you</div><div><br></div><div>Best,</div><div>Papis</div></span></div><div><span style="font-size: 12pt;"><br></span></div>                                               </div></body>
</html>