I am learning linear programming and integer programming. As a first step i started to go through the example ina book by H P Williams- Model building*****. I try to set one of the basic problem in matlab but cant figure out what's the correct syntax.
The Problem is of oil blending with 2 vegetable oil and 3 non-veg oil to be mixed to produce y with hardness index in the range of 3 to 6. The objective function is PROF. The refining in a month of veg and nonveg oils is limited to 200 and 250 tons. The hardness is linear for mixing and is as below table for UB and LB. Finally the product mass should be sum of all inputs. that gave me the below equations:-