UFMG - Doubts

View: New views
3 Messages — Rating Filter:   Alert me  

UFMG - Doubts

by orestes Emerick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.



           Hello,







         My name is Orestes Emerick Silva, I'm a student at Federal University of Minas Gerais ("UFMG") in Brazil. I'm using your program and I have 1 doubt.







         1) How can I use data for 3 or 4 dimension, for example:




           Now I'm using a data with 2 dimension, this data represents the productivity that one machine (Transportation equipment) will have when operating with another machine.




               param Prod_Trans:  CAT365CAT345CAT994PH1900:=

CAT785C    0  0 272.1228

510E    0  0 309.6280

Scania_8x4     7252.6     0 0

Scania_6x4 58.443.2     0 0;

           

           

           This productivity changes when the material and the area changes, so I need to expand this to a 4 dimension data.




 

  

 


Novo Internet Explorer 8: traduza com apenas um clique. Baixe agora, й grбtis!


           Hello,


         My name is Orestes Emerick Silva, I'm a student at Federal University of Minas Gerais ("UFMG") in Brazil. I'm using your program and I have 1 doubt.


         1) How can I use data for 3 or 4 dimension, for example:

           Now I'm using a data with 2 dimension, this data represents the productivity that one machine (Transportation equipment) will have when operating with another machine.

               param Prod_Trans:  CAT365 CAT345 CAT994 PH1900 :=
CAT785C    0  0 272.1 228
510E    0  0 309.6 280
Scania_8x4      72 52.6      0 0
Scania_6x4  58.4 43.2      0 0;
           
           
           This productivity changes when the material and the area changes, so I need to expand this to a 4 dimension data.

 
  


Novo Internet Explorer 8: traduza com apenas um clique. Baixe agora, é grátis!
_______________________________________________
Help-glpk mailing list
Help-glpk@...
http://lists.gnu.org/mailman/listinfo/help-glpk

Re: UFMG - Doubts

by Andrew Makhorin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>          1) How can I use data for 3 or 4 dimension, for example:
>            Now I'm using a data with 2 dimension, this data
> represents the productivity that one machine (Transportation
> equipment) will have when operating with another machine.
>
>                param Prod_Trans:  CAT365 CAT345 CAT994 PH1900:=
> CAT785C    0  0 272.1228
> 510E    0  0 309.6280
> Scania_8x4     7252.6     0 0
> Scania_6x4 58.443.2     0 0;
>            
>            This productivity changes when the material and the area
> changes, so I need to expand this to a 4 dimension data.

param Prod_Trans :=
[material1,area1,*,*]: CAT365 CAT345 CAT994 PH1900:=
   CAT785C             0      0      272.1  228
   510E                0      0      309.6  280
   Scania_8x4          72     52.6   0      0
   Scania_6x4          58.4   43.2   0      0
[material1,area2,*,*]: CAT365 CAT345 CAT994 PH1900:=
   CAT785C             0      0      272.1  228
   510E                0      0      309.6  280
   Scania_8x4          72     52.6   0      0
   Scania_6x4          58.4   43.2   0      0
[material2,area1,*,*]: CAT365 CAT345 CAT994 PH1900:=
   CAT785C             0      0      272.1  228
   510E                0      0      309.6  280
   Scania_8x4          72     52.6   0      0
   Scania_6x4          58.4   43.2   0      0
. . . . .
;




_______________________________________________
Help-glpk mailing list
Help-glpk@...
http://lists.gnu.org/mailman/listinfo/help-glpk

Parent Message unknown Re: UFMG - Doubts

by Andrew Makhorin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>             The name of my variable is "x[i,j,k,w]", where the i
> stands for Transportation Equipment, j means Load Equipment, k
> material and w area. 

>              So I should write [*,*,material1,area1] instead
> of [material1,area1,*,*], alright?

Yes. For more details please see the language reference included in
the distribution (doc/gmpl.pdf); you can find a similar example there.



_______________________________________________
Help-glpk mailing list
Help-glpk@...
http://lists.gnu.org/mailman/listinfo/help-glpk