[Cmpl-tickets] [CMPL - COIN Mathematical Programming Language] #1: A possible bug

Mike Steglich mike.steglich at th-wildau.de
Fri Jan 3 09:37:51 EST 2014


Hi,

This isn't a bug. For objective functions and constraints divisions are not permitted in the current version. Please use the opportunities of the parameters section to manipulate parameters. 
But is planned to allow such things in CMPLv2.0

Cheers,
Mike


> Von: "CMPL - COIN Mathematical Programming Language" <coin-trac at coin-or.org>
> Betreff: [CMPL - COIN Mathematical Programming Language] #1: A possible bug
> Datum: 2. Januar 2014 12:30:19 MEZ
> Kopie: cmpl-tickets at list.coin-or.org
> Antwort an: cmpl-tickets at list.coin-or.org
> 
> 
> #1: A possible bug
> ------------------------+----------------------
> Reporter:  schuente    |      Owner:  somebody
>     Type:  defect      |     Status:  new
> Priority:  major       |  Milestone:
> Component:  component1  |    Version:
> Keywords:              |
> ------------------------+----------------------
> Encountered a possible bug. See the last 2 lines, which contains comment.
> ---------
> %arg syntax
> 
> parameters:
> 
> numStaff := 30;
> numDayInCycle := 21;
> 
> S := 1..numStaff;
> D := 1..numDayInCycle;
> 
> variables:
> n[S]: binary;
> z[S,D]: binary;
> 
> objectives:
> numstaff: sum{s in S: n[s]} -> min;
> 
> 
> constraints:
> {s in S: sum{d in D: z[s,d]} <= n[s]*1 ;} #this is ok
> {s in S: sum{d in D: z[s,d]} <= n[s] / 1 ;} #error
> 
> --
> Ticket URL: <https://projects.coin-or.org/Cmpl/ticket/1>
> CMPL - COIN Mathematical Programming Language <https://projects.coin-or.org/Cmpl>
> CMPL (COIN Mathematical Programming Language) is a mathematical programming language and a system for modelling, solving and analysing linear programming (LP) problems and mixed integer programming (MIP) problems.
> 
> 
> 
> 
> Von: cmpl-tickets-request at list.coin-or.org
> Betreff: confirm 988b74eb1d38a23f5245bd0810342c416f049f65
> Datum: 2. Januar 2014 12:30:21 MEZ
> 
> 
> If you reply to this message, keeping the Subject: header intact,
> Mailman will discard the held message.  Do this if the message is
> spam.  If you reply to this message and include an Approved: header
> with the list password in it, the message will be approved for posting
> to the list.  The Approved: header can also appear in the first line
> of the body of the reply.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cmpl-tickets/attachments/20140103/a06dea37/attachment.html>


More information about the Cmpl-tickets mailing list