|   | 
    
         
        
      
        
          » Agprice 
              » Constraint 
              » Curve 
              » Decent 
              » Distrib 
              » Economy 
                Efficient 
              » Factory 
              » Farm 
              » Food 
              » Hydro 
              » Logic 
              » Manpower 
              » Market 
              » Milk 
              » Mining 
              » OandX 
              » Opencast 
              » Refinery 
              » Tariff 
              » TSP 
              » Yield 
          
           |   | 
            
             
              
                | Model Efficient  | 
                 | 
               
              
                
  | 
               
              
                |   | 
                MODEL Efficient | 
               
              
                |   | 
                SET | 
               
              
                |   | 
                  | 
                garages={1..28},  | 
               
              
                |   | 
                  | 
                 inputs={1..6},  | 
               
              
                |   | 
                  | 
                outputs={1..3};  | 
               
              
                |   | 
                DATA | 
               
              
                |   | 
                  | 
                Icoeffs[garages,inputs] << "idata.dat",  | 
               
              
                |   | 
                  | 
                Ocoeffs[garages,outputs] << "odata.dat";  | 
               
              
                |   | 
                VARIABLES | 
               
              
                |   | 
                  | 
                 x[garages],  | 
               
              
                |   | 
                  | 
                w;  | 
               
              
                |   | 
                OBJECTIVE  | 
               
              
                |   | 
                   | 
                MAXIMIZE weight=w; | 
               
              
                |   | 
                CONSTRAINTS | 
               
              
                |   | 
                  | 
                ilevel{i in inputs} : sum{j in garages}   | 
               
              
                |   | 
                  | 
                Icoeffs[j,i]*x[j] <= Icoeffs[1,i],  | 
               
              
                |   | 
                  | 
                olevel{k in outputs} : sum{j in garages}   | 
               
              
                |   | 
                  | 
                Ocoeffs[j,k]*x[j] >= Ocoeffs[1,k]*w;  | 
               
              
                |   | 
                END MODEL | 
               
              
                |   | 
                  | 
                solve Efficient;  | 
               
              
                |   | 
                  | 
                print solution for Efficient >> "Efficient.sol";  | 
               
              
                |   | 
                  | 
                quit;  | 
               
              
                                  | 
               
              
                |   | 
                  | 
               
              
                |   | 
                idata.dat | 
               
              
                |   | 
                [7,8,10,12,8.5,4, | 
               
              
                |   | 
                6,6,20,30,9,4.5,  | 
               
              
                |   | 
                2,3,40,40,2,1.5,  | 
               
              
                |   | 
                14,9,20,25,10,6,  | 
               
              
                |   | 
                10,9,10,10,11,5,  | 
               
              
                |   | 
                24,15,15,13,25,19, | 
               
              
                |   | 
                6,7,50,40,8.5,3, | 
               
              
                |   | 
                8,7.5,5,8,9,4,  | 
               
              
                |   | 
                5,5,10,10,5,2.5, | 
               
              
                |   | 
                8,10,30,35,9.5,4.5,  | 
               
              
                |   | 
                7,8,7,8,3,2,  | 
               
              
                |   | 
                5,6.5,9,12,8,4.5,  | 
               
              
                |   | 
                6,7.5,10,10,7.5,4,  | 
               
              
                |   | 
                11,8,8,10,10,6,  | 
               
              
                |   | 
                4,5,10,10,7.5,3.5, | 
               
              
                |   | 
                3,3.5,3,2,2,1.5,  | 
               
              
                |   | 
                5,5.5,8,10,7,3.5,  | 
               
              
                |   | 
                21,12,6,8,15,8,  | 
               
              
                |   | 
                6,5.5,2,2,8,5, | 
               
              
                |   | 
                3,3.6,3,3,2.5,1.5,  | 
               
              
                |   | 
                30,29,120,80,35,20,  | 
               
              
                |   | 
                25,16,110,80,27,12, | 
               
              
                |   | 
                19,10,90,12,25,13,  | 
               
              
                |   | 
                7,6,5,7,8.5,4.5,  | 
               
              
                |   | 
                12,8,7,10,12,7,  | 
               
              
                |   | 
                4,6,1,1,7.5,3.5, | 
               
              
                |   | 
                2,2.5,1,1,2.5,1, | 
               
              
                |   | 
                 2,3.5,2,2,1.9,1.2]  | 
               
              
                                  | 
               
              
                |   | 
                odata.dat | 
               
              
                |   | 
                [2,0.6,1.5,  | 
               
              
                |   | 
                2.3,0.7,1.6,  | 
               
              
                |   | 
                0.8,0.25,0.5,  | 
               
              
                |   | 
                2.6,0.86,1.9,  | 
               
              
                |   | 
                2.4,1,2,  | 
               
              
                |   | 
                8,2.6,4.5, | 
               
              
                |   | 
                2.5,0.9,1.6,  | 
               
              
                |   | 
                2.1,0.85,2, | 
               
              
                |   | 
                2,0.65,0.9, | 
               
              
                |   | 
                2.05,0.75,1.7,  | 
               
              
                |   | 
                1.9,0.7,0.5,  | 
               
              
                |   | 
                1.8,0.63,1.4,  | 
               
              
                |   | 
                1.5,0.45,1.45,  | 
               
              
                |   | 
                2.2,0.65,2.2,  | 
               
              
                |   | 
                1.8,0.62,1.6, | 
               
              
                |   | 
                0.9,0.35,0.5,  | 
               
              
                |   | 
                1.2,0.45,1.3,  | 
               
              
                |   | 
                6,0.25,2.9, | 
               
              
                |   | 
                1.5,0.55,1.55, | 
               
              
                |   | 
                0.8,0.2,0.45,  | 
               
              
                |   | 
                6.5,3.5,5.4,  | 
               
              
                |   | 
                5.5,3.1,4.5,  | 
               
              
                |   | 
                1.2,0.48,2,  | 
               
              
                |   | 
                4.5,2,2.3,  | 
               
              
                |   | 
                1.1,0.48,1.7, | 
               
              
                |   | 
                0.4,0.1,0.55, | 
               
              
                |   | 
                0.3,0.09,0.4]  | 
               
              
                                  | 
               
             
            
           | 
         
        
          |   | 
         
       
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
        
          |   | 
         
       
        
        
        
        
        
        
        
        
        
     | 
      |