Lindo Program

Seimuna

New member
Joined
Jan 28, 2009
Messages
35
Not sure if i should post the question here...

Is anyone know how to use LINDO program?
I need help in determine the optimal solution for the question below.

Eli Daisy Manufactures 2 drugs in LA and Indian. The cost of manufacturing a pound of each drug is shown in Table 1.
The Machine time(in hours) required to produce a pound of each drug at each city is as Table 2.
Daisy needs to produce at least 1000 pounds of drug 1 and 2000 pound drug 2 per week.
The company has 500 hours per week of machine time in India and 400 hours per week of machine timein LA.
Determine how can minimize the cos of producing the needed drugs.



Table 1

City ------------Drug 1------------ Drug 2
Indian----------- 4.10 ------------ 4.50
LA -------------- 4.00 -------------5.20



Table 2

City----------- Drug 1 -----------Drug 2
Indian----------- 0.2 -------------0.3
LA --------------0.24-- -----------0.33
 
LINGO is a confusing language. The company is called LINDO. The language is LINGO. I have had my experiences having to deal with it. I hated it. I was forced to endure it for an Operations Research class.

All I ever got was "non-feasible solution", until I was ready to take an ax to the computer.

Let \(\displaystyle d_{1}=\text{pounds of drug 1}, \;\ d_{2}=\text{pounds of drug 2}\)

The equations would be:

COST (what must be minimized)

\(\displaystyle C(India)=4.1d_{1}+4.5d_{2}\)

\(\displaystyle C(LA)=4d_{1}+5.2d_{2}\)

HOURS

\(\displaystyle .2d_{1}+.3d_{2}\leq 500\)

\(\displaystyle .24d_{1}+.33d_{2}\leq 400\)

also \(\displaystyle d_{1}\geq 1000, \;\ d_{2}\geq 2000\)


Now, try writing a program from that infernal language. If I get something I will help out, but that is a long shot :D :wink:
 
Top