JavaScript must be enabled in order to use this site. Please enable JavaScript in your browser and refresh the page. Objective function An objective function is just a constraint with no constraint type. declarations MinCost: linctr end-declarations MinCost := 10*x(1) + 20*x(2) + 30*x(3) + 40*x(4) Parent Topic Mathematical Programming basics