[OS] Fwd: OSrL problem
Mike Steglich
mike.steglich at berlin.de
Fri Mar 25 12:37:57 EDT 2011
Hi Gus,
I have used OS 2.3.2.
But this problem occurs also in OS 2.3.4.
localhost:_cmplFrame mike$ /Applications/COIN-OS/OSSolverService -osil diet.osil -solver clp
Optimization Services Solver
Main Authors: Horand Gassmann, Jun Ma, and Kipp Martin
Distributed under the Common Public License 1.0
OS Version: 2.3.4
Build Date: Mar 25 2011
SVN Version: 4105
<?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
>
>
> Am 25.03.2011 um 16:42 schrieb Horand Gassmann:
>
>> 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