m=4;n=8; L =[ 2 6 8 3; 1 0 6 5; 5 3 5 6; 9 3 1 4; 9 1 5 7; 3 5 4 1; 1 3 3 9; 0 3 8 8]; %Lighting coefficients a_ij % p=3*ones(1,n); %Penalty for underlighting per unit % q=2*ones(1,n); %Penalty for overlighting per unit % k=100*ones(n,1); %Required Lighting Levels % % RESULTS % z = 238.20 %Optimal Value >>> x x = %Optimal Power Levels at the lights 4.1096 12.6332 1.9787 5.7839 >>> u %Underlighting at street segments u = 0.00000 55.09893 0.00000 0.00000 0.00000 10.80670 0.00000 0.00000 >>> v %Overlighting at street segments v = 17.19939 0.00000 3.04414 0.00000 0.00000 0.00000 0.00000 0.00000