Linear Programming (Using QM for Windows)

odumath

New member
Joined
Sep 20, 2006
Messages
42
I'm not sure if this is the proper forum... I couldn't find one specifically for Linear Programming (LP).

I have an LP problem that I need to solve with a software package called "QM for Windows".

Okay, the actual LP problem is posted as a JPG file at: http://img102.imageshack.us/img102/133/01eo1.jpg

Here's the issue:
Under the "subject to" constraint area, constraint #3 = "10B+75P+20G+70M<= 0.3(70B+100P+50S+60G+150M+100J)"

In the software program "QM for Windows", I get the error message "( is an illegal character..." in the RHS column (error is also shown on the JPG).

My question: How do I enter the "<= 0.3(70B+100P+50S+60G+150M+100J)" into the program? Normally, I only enter integers such as e.g. 400 (like in constraint #1).

Thank you,
odumath
 
odumath said:
My question: How do I enter the "<= 0.3(70B+100P+50S+60G+150M+100J)" into the program?

Not familiar with QM for Windows; have you tried:
.3*(70*B+100*P+50*S+60*G+150*M+100*J)

All the programming languages that I've used ALWAYS require
the * to indicate multiplication.
 
Denis,

thanks for the feedback... it must have been late last night when I posted the question. I woked up this morning and figured up how to solve it.

While I only can enter integers into the RHS field (QM), I'm not restricted to reformulate the equation.

So, I've entered "11B - 45P + 15S - 2G - 25M + 30J >= 0" ... using it and solving the problem now matches the instructors solution key.

Anyhow, thanks for chimining in.

odumath
 
Top