[Bonmin] how to read external data
Danas Zuokas
danas.zuokas at gmail.com
Wed Jul 1 02:09:34 EDT 2015
Hi all,
how can I modify MyTMINLP CppExample and read in external data which is
used to compute function, gradient and other values.
I have found here
http://list.coin-or.org/pipermail/bonmin/2009-July/000218.html that "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."
But this is very general. Any working example would be great.
Regards,
Danas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/bonmin/attachments/20150701/d99552d4/attachment.html>
More information about the Bonmin
mailing list