Message from discussion
xPress Mosel IVE!
MIME-Version: 1.0
Received: by 10.100.248.16 with SMTP id v16mr458092anh.0.1239714024104; Tue,
14 Apr 2009 06:00:24 -0700 (PDT)
Date: Tue, 14 Apr 2009 06:00:24 -0700 (PDT)
X-IP: 213.142.124.129
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1;
.NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR
3.5.30729; .NET CLR 3.0.30618),gzip(gfe),gzip(gfe)
Message-ID: <cf1ef54e-b68a-4ff7-9ae2-e99656877cef@p11g2000yqe.googlegroups.com>
Subject: xPress Mosel IVE!
From: Mags <m.margreit...@gmx.at>
To: Xpress-MP <xpressmp@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hello!
I'm a greenhorn in programming and modelling and I hope somebody could
help me!
I have the following problem with xPress Mosel IVE:
I have a linear program with the following side condition: (Transport
condition)
y1l >= LB1 or y1l = 0
l ... stands for distribution center or consumer
j ... stands for factory 1 or 2
t ... stands for Week 1 to 4
y1l ... Products which are transported from factory 1 to the
distribution center or to the consumer
LB1...The required amount on products which should be transported from
factory 1 to the distribution center or to the consumer
I have input the side condition (Transport condition) in xPress Mosel
IVE as the following but there is always the error message that
something is wrong with the operator or:
forall(l in indexl, j in indexj, t in indext) do
y1l(l, j, t) >= LB1(l, j) or y1l(l, j, t) = 0
end-do
I think that I must input the or condition in another way but I didn't
know how!?
I'm very happy and thankful if somebody could help me,
best regards,