<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hello<br><br>I've created the OSInstance and solved it with the CoinSolver object.<br>It can solve correctly but I can't get basic/non-basic variable information from the OSResult or OSRL.<br>The OSOption is default.<br><br>Here is the code.<br>--------------------------------------------------------------<br>OSInstance *osin = createOSInstance();<br><br>CoinSolver *solver = new CoinSolver();<br>solver-&gt;osinstance = osin;<br>solver-&gt;solve();<br><br>OSResult *osr = solver-&gt;osresult;<br>int numOfBasisVar = osr-&gt;getNumberOfBasisVar(0);<br>--------------------------------------------------------------<br><br>numOfBasisVar is -1 for every model I've solved.<br><br>I appreciate any help on this matter.<br><br>Best regards<br><br>Koraphat Dangsuwan<br>                                               </body>
</html>