Question

2 Bill has just completed his exams for the academie year and wants to celebrate by seeing every movie showing in theaters in

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let X0 = 1, if visits in-town to see all the movies, otherwise X0 = 0

X1 = 1, if visits City A to see all the movies, otherwise X1 = 0

X2 = 1, if visits City B to see all the movies, otherwise X2 = 0

X3 = 1, if visits City C to see all the movies, otherwise X3 = 0

X4 = 1, if visits City D to see all the movies, otherwise X4 = 0

X5 = 1, if visits City E to see all the movies, otherwise X5 = 0

X6 = 1, if visits City F to see all the movies, otherwise X6 = 0

Xij = 1, if he watches movie j in town/city i , otherwise Xij = 0

Minimize .75*25X1+.75*30X2+.75*28X3+.75*40X4+.75*35X5+.75*32X6+7.95X01+7.95X03+5.5X11+5.5X16+5.5X18+5X22+5X25+5X27+7X31+7X38+7X39+4.95X42+4.95X44+4.95X47+5.25X51+5.25X53+5.25X55+5.25X510+6.75X64+6.75X65+6.75X66+6.75X69

s.t.

2X0-X01-X03>=0

3X1-X11-X16-X18>=0

3X2-X22-X25-X27>=0

3X3-X31-X38-X39>=0

3X4-X42-X44-X47>=0

4X5-X51-X53-X55-X510>=0

4X6-X64-X65-X66-X69>=0

X01+X11+X31+X51>=1

X22+X42>=1

X03+X53>=1

X44+X64>=1

X25+X55+X65>=1

X16+X66>=1

X27+X47>=1

X18+X38>=1

X39+X69>=1

X510>=1

Xi, Xij binary

Solution using LINGO is following:

Lingo 17.0-Lindo Model-Lingo! File Edit Solver Window Help Lindo Model - Lingo1 Solution Report Lingol Global optimal solutio

Variable X1 Reduced Cost 18.75000 22.50000 21.00000 30.00000 26.25000 24.00000 7.950000 7.950000 5.500000 5.500000 5.500000 5

Dual Price -1 000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000

Optimal solution:

X1, X2, X5, X6 = 1

Therefore, Bill should visit towns A, B, E, F

He should watch movies as per following schedule:

Theater location Movies to be watched
In-town
City A 6,8
City B 2,5,7
City C
City D
City E 1,3,10
City F 4,9

Total cost of travel and movies = 146.75

Add a comment
Know the answer?
Add Answer to:
2 Bill has just completed his exams for the academie year and wants to celebrate by...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT