Something very subtle is going on. You are missing a colon :
after the max
. So the lp_solver
thinks that max
is an unbounded variable. Your objective function value is what tipped me off.
Once you modify your Objective Function to:
max: 10 hs + 9 hl + 6 ha + 3 hb + 14 hr + 10 ws + 9 wl + 6 wa + 3 wb + 14 wr;
You will get the correct solution:
hs, ha, wl and wr will be 1.