comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » step size in constrained_min?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
step size in constrained_min? [message #73189] Wed, 27 October 2010 12:18
rdh is currently offline  rdh
Messages: 6
Registered: October 2009
Junior Member
All -

Does anyone know what determines the step size used in
constrained_min? I'm attempting to use it to minimize a single
function, and although the variable bounds are wide (~100), it doesn't
seem to want to vary any variable by more than +/-0.000001. What am I
doing wrong?

Here's a snippet:

; reformat scale (bounds) for this optimization function
prec = MACHAR()
ftol = sqrt(prec.EPS)*2.^downsample
intial_guess = [3.3, 10.5, 35.4, 61.23, 78.435]
bounds = [-0.01, 10.0 , 5.25 , 50.2, 10.52, 100.5, 52.3, 142.36,
61.2 , 155.03]
func_bounds = [-1.0e30,1.0e30] ;unbounded (also tried loosely
bounding)
CONSTRAINED_MIN, initial_guess, bounds, func_bounds, 0, 'my_func',
inform, $ NSTOP=5, REPORT=new_dir + 'IDL_constr_min.txt', TITLE='BHC
Spline Pts', $ EPSTOP=ftol

Thanks,
Romy


------------------------------------------------------------ ---
Romy Hanna
Research Scientist Associate
High Resolution X-ray CT Facility
University of Texas, Austin
romy@jsg.utexas.edu
------------------------------------------------------------ ---
[Message index]
 
Read Message
Previous Topic: IDL 8, log plots and titles
Next Topic: Z-Graphics Buffer Resolution

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 07:24:26 PDT 2025

Total time taken to generate the page: 0.87750 seconds