ALWAYS REMEMBER TO PUT SEMICOLONS
AFTER EACH LINE. Please ….
Chapter 3
Link for better understanding: https://youtu.be/lEXaovcx5mE
Slide 3:
Code:
max = 10*S+9*D+12.85*L;
0.7*S+1*D+0.8*L<=630;
0.5*S+5/6*D+1*L<=600;
1*S+2/3*D+1*L<=708;
1/10*S+1/4*D+1/4*L<=135;
Global optimal solution found.
Objective value: 8299.800
Infeasibilities: 0.000000
Total solver iterations: 3
Elapsed runtime seconds: 0.03
Model Class: LP
Total variables: 3
Nonlinear variables: 0
Integer variables: 0
Total constraints: 5
Nonlinear constraints: 0
Prepared by Ridwan Abrar
, Total nonzeros: 15
Nonlinear nonzeros: 0
Variable Value Reduced Cost
S 280.0000 0.000000
D 0.000000 1.150000
L 428.0000 0.000000
Row Slack or Surplus Dual Price
1 8299.800 1.000000
2 91.60000 0.000000
3 32.00000 0.000000
4 0.000000 8.100000
5 0.000000 19.00000
[Solved on Lingo 18.0]
Marketing Research:
Marketing Application:
1. Media selection: fixed budget for advertising media
2. Marketing research : to minimise cost of consumer
Prepared by Ridwan Abrar