SOLVER CONSTRAINTS

MATMU

New Member
Joined
Oct 18, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Please help me with the following constraints on my sheet that i have attached

After stopping off for an early breakfast at a highway resta ura nt near Musina, Biff headed his truck back onto the N l highway on h is way to deliver his goods in Zim ba bwe. When he stopped at the border post, he noticed that his truck is in a convoy of five trucks and he starts talking to the other four drivers. I t turns out each of the five was driving a load of a different type of cargo from a different location to Harare. Can you determine each trucker's place in the convoy, as well as his/her cargo and origin?CLU ES:1. Hank's truck was immediately in front of the truck from Mokopane and immediately behind the truck carrying soda.2. The truck carrying lumber, which was not being driven by Rhoda, was not from Johannesburg.3. The five drivers are Ali; the person from Cape Town, the last driver in the line; Jerriand the one who had a load of pa per products.4. The truck from Richards Bay was somewhere in front of Jerri's truck and somewhere behind the truck from Johannesbu rg.5. Rhoda's truck was somewhere behind the truck carrying prod uce, which was somewhere behind the truck from Durban .OPTIONS:Truck driver names: Biff; Hank; Rhoda; Ali; JerriTruck origin: Mokopane; Johannesbu rg; Cape Town; Richa rds Bay; Durban Cargo:Soda; Lumber; Paper; Prod uce; OvensOrder: First; Second; Third; Fourt h; Fifth
Copy of ga2 final.xlsx
ABCDEFGHIJKLM
1
2Driver hintDriver
3biff?Placebiffhankrhodaalijerri
4hanknot from mokopane; not carrying sodaMokopane001001=1
5rhodanot carrying lumber; not from dbnJohannesburg100001=1
6alinot from cpt;Cape Town010001=1
7jerrinot from rcb or joziRichards Bay000101=1
8Durban000011=1
9Cargohint11111
10Lumbernot from jozi=====
11sodanot from mokopane11111
12papernot ali,jerri, not from cpt
13producenot from durban; not rhodaplcae
14ovensCargoMokopaneJohannesburgCape TownRichards BayDurban
15Lumber000011=1
16soda010001=1
17Orderhintpaper000101=1
181not hank, not richardsbayproduce001001=1
192ovens100001=1
20311111
214=====
225not ali or jerri;not hank, not durban11111
23
24
25h10=0
26h20=0
27
28Order
29Place12345
30Mokopane000011=1
31Johannesburg001001=1
32Cape Town100001=1
33Richards Bay010001=1
34Durban000101=1
3511111
36=====
3711111
38
39H20=0
40h30=0
41
Sheet1
Cell Formulas
RangeFormula
J30:J34,J15:J19,J4:J8J4=SUM(E4:I4)
E35:I35,E20:I20,E9:I9E9=SUM(E4:E8)
E25E25=F4+G8+H6+I7+I5
E26E26=F15+E16+I18+G17
E39E39=E30+E33+I33+I34+I31+I32
E40E40=I34+E33
Named Ranges
NameRefers ToCells
solver_lhs1=Sheet1!$E$15:$I$19E20, J15
solver_lhs5=Sheet1!$E$30:$I$34E35, J30, E39
solver_lhs8=Sheet1!$E$4:$I$8E9, J4
solver_rhs13=Sheet1!$F$16F20, J16
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,215,222
Messages
6,123,704
Members
449,118
Latest member
MichealRed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top