mailr25498 - /trunk/specific_analyses/relax_disp/api.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by tlinnet on September 01, 2014 - 14:26:
Author: tlinnet
Date: Mon Sep  1 14:26:08 2014
New Revision: 25498

URL: http://svn.gna.org/viewcvs/relax?rev=25498&view=rev
Log:
Allow R2eff model to reach constrained methods in minfx through relax.

This is in systemtest Relax_disp.verify_estimate_r2eff_err_compare_mc()

This though not seem to be supported.

Modified:
    trunk/specific_analyses/relax_disp/api.py

Modified: trunk/specific_analyses/relax_disp/api.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/api.py?rev=25498&r1=25497&r2=25498&view=diff
==============================================================================
--- trunk/specific_analyses/relax_disp/api.py   (original)
+++ trunk/specific_analyses/relax_disp/api.py   Mon Sep  1 14:26:08 2014
@@ -595,6 +595,18 @@
                 elif match('^[Nn]ewton$', algor):
                     allow = True
 
+                # Newton minimisation.
+                elif match('^[Nn]ewton$', algor):
+                    allow = True
+
+                # Constrained method, Method of Multipliers.
+                elif match('^[Mm][Oo][Mm]$', algor) or match('[Mm]ethod of 
[Mm]ultipliers$', algor):
+                    allow = True
+                    
+                # Constrained method, Logarithmic barrier function.
+                elif match('^[Ll]og [Bb]arrier$', algor):
+                    allow = True
+
             # If the Jacobian and Hessian matrix have not been specified for 
fitting, 'simplex' should be used.
             else:
                 if match('^[Gg]rid$', algor):




Related Messages


Powered by MHonArc, Updated Mon Sep 01 14:40:02 2014