[Cmpl] Fwd: PyCMPL: Export CDAT?
Mike Steglich
mike.steglich at th-wildau.de
Fri Nov 17 14:57:42 EST 2017
Anfang der weitergeleiteten Nachricht:
> Von: Mike Steglich <mike.steglich at th-wildau.de>
> Datum: 17. November 2017 um 20:48:54 MEZ
> An: "Ogden, Bhrett A." <ogdenba at cdmsmith.com>
> Betreff: Aw: [Cmpl] PyCMPL: Export CDAT?
>
> Hi Bhrett,
>
> PyCmpl writes all temp file into the TMP folder and delete these files after solving the problem. There is a non-documented method Cmpl.debug(mode) in pyCmpl with that this behaviour can be influenced. If your Cmpl object is model then you can use model.debug(True) before model.solve(). PyCmpl awaits hitting a key and before you do that you can obtain the temp files.
>
> A export function sounds like a good idea. I could send a beta version with that function if the workaround described below is not comfortable.
>
> Cheers,
>
> Mike
>
>> Am 17.11.2017 um 19:13 schrieb Ogden, Bhrett A. <ogdenba at cdmsmith.com>:
>>
>> I am exploring the possible use of building CMPL into a desktop application, which will have a database as part of the backend. In my application, I would like to leave the problem specification without data. That is to say that I would have a CMPL file and read data in from the databases in Python. I would then use pyCMPL to add my data and solve the problem. One thing that would be very helpful for archiving model runs would be a way to export a CDAT file that represents the data added in my pyCMPL code. I have looked through the documentation, and I do not see this feature offered (although I see ways that I could process the data and form the file myself). Is there a built-in way to export a CDAT file that I’m missing? If not, might this be something that would be included in future versions?
>>
>> Thank you for your hard work on CMPL.
>>
>> Best,
>> Bhrett
>> _______________________________________________
>> Cmpl mailing list
>> Cmpl at list.coin-or.org
>> https://list.coin-or.org/mailman/listinfo/cmpl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cmpl/attachments/20171117/d6aab67b/attachment.html>
More information about the Cmpl
mailing list