This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Help with Nonlinear Optimization Module part 2

Tags: None
(comma "," separated)
yifeiw
Registered Member
Posts
3
Karma
0
Hi Everyone, I've been able to get my code to work using the examples included but none of them really show how to use the one-step method. I tried something that was suggested in the documentation

LevenbergMarquardtSpace::Status LevenbergMarquardt<Objective_functor,double>::minimize(&x)
{
Status status = minimizeInit(x);
do {
status = minimizeOneStep(x);
} while (status==Running);
return status;
}

and I'm getting the error
error: too few template-parameter-lists

I'm also trying to implement this with the Numerical differentiation module but not quite sure on what the constructor format should be to make that object.

Any insight would be appreciated!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]