Package samer.maths.opt
Class ConstrainedMinimiser
- java.lang.Object
-
- samer.maths.opt.State
-
- samer.maths.opt.MinimiserBase
-
- samer.maths.opt.ConstrainedMinimiser
-
public class ConstrainedMinimiser extends MinimiserBase
Constrained minimiser. - ConjugateGradient - OR Quasi-newton (using GillMurray uydates) - Safeguarded cubic interpolation line search using gradients We expect a Class object to be in object Space to tell us what kind of constraints to create
-
-
Field Summary
-
Constructor Summary
Constructors Constructor and Description ConstrainedMinimiser(Vec v, Functionx f, java.lang.Class conscl)
ConstrainedMinimiser(Vec v, Functionx f, Constraints.Factory constraintFactory)
expected stack top: Vec, Functionx, Class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
execute(java.lang.String cmd, Environment env)
void
getCommands(Agent.Registry r)
void
run()
void
setHessian(Jama.Matrix H)
-
Methods inherited from class samer.maths.opt.MinimiserBase
add, dispose, getMaxiter, getViewables, getViewer, perIteration, perOptimisation, starting, stopping
-
-
-
-
Constructor Detail
-
ConstrainedMinimiser
public ConstrainedMinimiser(Vec v, Functionx f, Constraints.Factory constraintFactory)
expected stack top: Vec, Functionx, Class
-
-
Method Detail
-
setHessian
public void setHessian(Jama.Matrix H)
-
getCommands
public void getCommands(Agent.Registry r)
- Overrides:
getCommands
in classMinimiserBase
-
execute
public void execute(java.lang.String cmd, Environment env) throws java.lang.Exception
- Overrides:
execute
in classMinimiserBase
- Throws:
java.lang.Exception
-
-