Changeset 258


Ignore:
Timestamp:
Jun 12, 2007, 2:07:07 AM (15 years ago)
Author:
Argimiro Resende Secchi
Message:

Fix optimization samples.

Location:
trunk/sample
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sample/miscellaneous/sample_optimization.mso

    r247 r258  
    1515       
    1616        OPTIONS
    17         NLPSolver = "ipopt_emso";
     17        NLPSolver(File = "ipopt_emso");
    1818end
  • trunk/sample/optimization/ammonia_opt.mso

    r247 r258  
    4040        loose < 1 * 'lbmol/h';
    4141        production > 90 * 'lbmol/h';
    42        
     42
     43        OPTIONS
     44        Dynamic = false;
     45        #NLPSolveNLA = false;
     46        NLPSolver(File = "complex", #"ipopt_emso",
     47                          RelativeAccuracy = 1e-6);
    4348end
  • trunk/sample/optimization/flash_opt.mso

    r215 r258  
    8888        Dynamic = false;
    8989        NLPSolveNLA = false;
    90         RelativeAccuracy = 1e-6;
     90        NLPSolver(File = "ipopt_emso",
     91                          RelativeAccuracy = 1e-6);
    9192end
    9293
Note: See TracChangeset for help on using the changeset viewer.