close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1440 closed task (fixed)

[GrzLinModel] Modifying default optimization algorithm

Reported by: Víctor de Buen Remiro Owned by: Víctor de Buen Remiro
Priority: highest Milestone: Mantainance
Component: Math Version: 3.1
Severity: blocker Keywords:
Cc:

Description

Package GrzLinModel can use all NLopt algorithms by means of NonLinGloOpt but, sometimes user cannot specify what algorithm wants to use or doesn't know how to do it.

A simple solution is to create an static member with the default method before to call estimation methods.

Change History (3)

comment:1 Changed 13 years ago by Víctor de Buen Remiro

Version: 2.0.13.1

comment:2 Changed 13 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

(In [4165]) Refs #1439
Fixes #1440

comment:3 Changed 13 years ago by Víctor de Buen Remiro

Problem has been solved in GrzLinModel.4.1 that requires tol v3.1 b002

For example if you want to use Preconditioned truncated Newton, you can write this line before to call the estimation method:

Real GrzLinModel::@WgtReg::default.NonLinGloOpt.Algorithm := 
  NonLinGloOpt::Algorithm::LD_TNEWTON_PRECOND_RESTART;
Note: See TracTickets for help on using tickets.