[Cmpl] XML Schema of CmplSolutions available?

Mike Steglich mike.steglich at th-wildau.de
Wed Jan 22 12:13:15 EST 2014


Hello Armin,

It is really embarrassing but there wasn't enough time to create XML schemes for all of our XML formats. I'm preparing the (delayed) release of CMPLv.1.9. I hope there will be time to create the schemes in March.

I would like to suggest to use pyCMPL to analyze solutions.
E.g. it is possible to obtain all variables and constraints of a solved problem by using the following pyCMPL code:
 
for v in m.solution.variables:
      print v.idx,v.name, v.type, v.activity,v.lowerBound, v.upperBound

for c in m.solution.constraints:
      print c.idx, c.name, c.type, c.activity,c.lowerBound, c.upperBound

If you are interested to use pyCMPL for analyzing solutions then please take a look at the pyCMPL examples in chapter 11.

Cheers,

Mike



Am 22.01.2014 um 17:54 schrieb Wolf, Armin:

> Dear all,
>  
> thank you for CMPL and the according tools. I am using it with pleasure.
> Now, I like to use the XML solution output of the solver (CmplSolutions).
> For parsing these XML solutions it would be nice to have an according XML
> Schema as a basis for automatic parser generation. – Is such schema available
> (and where)?
>  
> Many thanks in advance for your support.
>  
> Armin Wolf
>  
> --
> Dr. Armin Wolf, Head of IT4Energy
> Fraunhofer Institute for Open Communication Systems FOKUS
> Competence Center IT4Energy
> Kaiserin-Augusta-Allee 31, 10589 Berlin, Germany
> Phone: +49-30-3463-7469
> Fax: +49-30-3463-99-7469
> Email: armin.wolf at fokus.fraunhofer.de
> Mobile: +49-175-1854160
> http://www.fokus.fraunhofer.de/de/it4energy/
>  
> Besuchen Sie uns auf der  e-World 2014 in Halle 4
> 11. – 13. Februar 2014 in Essen
> IT4Energy-Workshop 2014 - Virtuelle Kraftwerke
> Fraunhofer FOKUS lädt am 3. April 2014 Energieversorger, Netzbetreiber, Stadtwerke
> und Industrie zum IT4Energy-Workshop ein. Weitere Informationen und Anmeldung.
>  
> _______________________________________________
> Cmpl mailing list
> Cmpl at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cmpl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cmpl/attachments/20140122/fea7db68/attachment.html>


More information about the Cmpl mailing list