Execício 6
MESTRADO EM MODELAGEM COMPUTACIONAL DE CONHECIMENTO

 

Home
Acima
Currículo
Curso de Mestrado
Otimização
Lista de Exercícios
Bioinformática
IAD
Forum
Links
 O PROBLEMA DA SUPERFÍCIE

 

Enunciado:

 

     Para encontrar o ponto da superfície tridimensional,  xyz = 1, mais próximo da origem, se deve minimizar a função (distância a origem)

 

 

sujeito a restrição dos pontos  que deve estar na superficíe:

   

                                      xyz = 1

 

Formulação em GAMS:

 

$title PROBLEMA DA SUPERFICÍE

 

POSITIVE VARIABLES  x,y,z;

FREE VARIABLES  obj;

 

EQUATIONS

    DIST função objetivo;

 

    ON   restrições sobre os pontos;

 

     DIST ...  obj “e” SQRT(SQR(x)+SQR(y)+SQR(z));

     ON …    1 “e”  x*y*z;

 

     MODEL  superficie /all/;

 

      x.1 = 100; y.1 = 100; z.1 = 100;

  

      SOLVE superfície USING nlp MINIMIZING obj; 

 
 
Hosted by www.Geocities.ws

1