sum,constraints,ampl,glpk,mathprog

This is just a syntax problem. The constraint should look like the following: s.t. c1: sum{i in I, j in I}(Y[i,j]) = 6; The first brackets after the name of your constraints imply that the constraint is applied to every single [I, I]. What you want is to fix the...

Stupid is what stupid does: I forgot to limit the release parameter and there were some problems with the index (e.g. initial fill level assigned too late etc.). Therefore the problem was unbounded The objective should look like this (see last line): # objective: Maximize profit maximize obj: sum{i in...

Your computation is off based on the union dues... Apparently, to get the 783.30 pay, the union dues are deducted AFTER the FICA tax has been applied... 800.00 (base) + 46.25 (5% bonus when over 80% base) + 92.50 (10% commission on 925 sales) ======= 938.75 -150.20 (16% FICA) =======...