[OS] OSrL problem

Mike Steglich mike.steglich at berlin.de
Fri Mar 25 07:30:21 EDT 2011


Hi,

If I try to solve an integer problem with Clp < OSSolverService -osil problemname.osil -solver clp> then I get the following OSrL file that seems not well-formed. 
Therefore it is difficult to catch automatically (e.g. by using Qt's  QDomDocument, QDomElement, QDomNode)  the message that is written in the OSrL file.

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.coin-or.org/OS/stylesheets/OSrL.xslt"?>
<osrl xmlns="os.optimizationservices.org"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="os.optimizationservices.org http://www.optimizationservices.org/schemas/2.0/OSrL.xsd" >
<general>
<generalStatus type="error">
</generalStatus>
<message><?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.coin-or.org/OS/stylesheets/OSrL.xslt"?>
<osrl xmlns="os.optimizationservices.org"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="os.optimizationservices.org http://www.optimizationservices.org/schemas/2.0/OSrL.xsd" >
<general>
<generalStatus type="error">
</generalStatus>
<message>Clp cannot do integer programming</message>
</general>
</osrl>
</message>
</general>
</osrl>

Cheers,

Mike




More information about the OS mailing list