<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> 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;"> OsiSymSolverInterface si;</span></div><div> si.parseCommandLine(argc, argv);</div><div> si.loadProblem();</div><div><br></div><div> si.setObj2Coeff(1, 1);</div><div><br></div><div> si.multiCriteriaBranchAndBound();</div><div><br></div><div> 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> sym_environment *env = sym_open_environment();</div><div> sym_parse_command_line(env, argc, argv);</div><div> sym_load_problem(env);</div><div><br></div><div> sym_set_obj2_coeff(env, 1, -1);</div><div><br></div><div> sym_mc_solve(env);</div><div><br></div><div> sym_close_environment(env);</div><div><br></div><div> 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 <span style="font-size: 12pt;">USE_OSI_INTERFACE = TRUE and make, make install again. 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? </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>