so I modified DirectSearch call a bit and now receiving a strange error:
DirectSearch:-DataFit(ffit2(etaL, L0, t)
, [eta_L=0.0001 .. 0.1, L0=1.5e10 .. 1.7e10]
, X0, Y0, t
, evaluationlimit=30000 , initialpoint=[L0=1e10, eta_L=0.006]
Warning, initial point [L0 = 0.1e11, etaL = etaL] does not satisfy the inequality constraints; trying to find a feasible initial point
Error, (in pr) unable to evaluate etaL to floating-point
And I get this error regardless of actual value chosen for eta_L inside initialpoint=[...].
Without initialpoint=[...] part it choose initial point well outside the quoted region and of course get bad fit:
Warning, initial point [L0 = .9, etaL = .9] does not satisfy the inequality constraints; trying to find a feasible initial point
Error, (in DirectSearch:-Search) cannot find feasible initial point; specify a new one
Please suggest what could be done about it?
Thank you in advance!