[OS] OSrL problem

Horand Gassmann Horand.Gassmann at DAL.CA
Fri Mar 25 11:42:00 EDT 2011


Mike Steglich <mike.steglich at berlin.de> wrote:

> 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>

Mike,

what version of OS are you using? We saw this kind of behavior in old  
versions (prior to around 2.1 --- I am not 100% sure). It was  
definitely fixed, and release 2.3.3 should be able to do what you need.

Hope that helps.

gus gassmann



More information about the OS mailing list