[Cmpl-tickets] [CMPL - COIN Mathematical Programming Language] #1: A possible bug
CMPL - COIN Mathematical Programming Language
coin-trac at coin-or.org
Thu Jan 2 06:30:19 EST 2014
#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.
More information about the Cmpl-tickets
mailing list