<div dir="ltr"><span style="font-size:12.8000001907349px">Hi all,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">how can I modify MyTMINLP CppExample and read in external data which is used to compute function, gradient and other values.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I have found here <a href="http://list.coin-or.org/pipermail/bonmin/2009-July/000218.html" target="_blank">http://list.coin-or.org/pipermail/bonmin/2009-July/000218.html</a> that &quot;You can add more members to the problem object, that is, to the MyTMINLP class (that is derived from the TMINLP class). So before asking Bonmin to solve your TMINLP, you read in your files and store its data in the TMINLP. Then you can conveniently access this data from eval_g and others.&quot;</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">But this is very general. Any working example would be great.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Regards,</div><div style="font-size:12.8000001907349px">Danas</div></div>