step = lineMaximizer.optimize (xi, step); fret = optimizable.getValue (); if (2.0*Math.abs(fret-fp) <= tolerance*(Math.abs(fret)+Math.abs(fp)+eps)) {
step = lineMaximizer.optimize (xi, step); fret = optimizable.getValue (); if (2.0*Math.abs(fret-fp) <= tolerance*(Math.abs(fret)+Math.abs(fp)+eps)) {
step = lineMaximizer.optimize (xi, step); fret = optimizable.getValue (); if (2.0*Math.abs(fret-fp) <= tolerance*(Math.abs(fret)+Math.abs(fp)+eps)) {
logger.info ("ConjugateGradient: At iteration "+iterations+", cost = "+fp); step = lineMaximizer.optimize (xi, step); fret = optimizable.getValue(); optimizable.getValueGradient(xi);
logger.info ("ConjugateGradient: At iteration "+iterations+", cost = "+fp); step = lineMaximizer.optimize (xi, step); fret = optimizable.getValue(); optimizable.getValueGradient(xi);
logger.info ("ConjugateGradient: At iteration "+iterations+", cost = "+fp); step = lineMaximizer.optimize (xi, step); fret = optimizable.getValue(); optimizable.getValueGradient(xi);