-
-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
With argmin 0.11.0, I noticed that the time displayed at the end of the optimization is always 0ns.
Example:
particleswarm> cargo run
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s
Running `D:\workspace\argmin\target\debug\example-particleswarm.exe`
OptimizationResult:
Solver: Particle Swarm Optimization
param (best): Particle { position: [3.5844283403304917, -1.8481265269644036], velocity: [4.682418545689039, 4.416573268635766], cost: 0.0, best_position: [3.5844283403304917, -1.8481265269644036], best_cost: 0.0 }
cost (best): 0
iters (best): 245
iters (total): 10000
termination: Maximum number of iterations reached
time: 0nsWhile with argmin 0.10.0:
particleswarm>cargo run
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s
Running `D:\workspace\argmin\target\debug\example-particleswarm.exe`
OptimizationResult:
Solver: Particle Swarm Optimization
param (best): Particle { position: [3.0, 2.0], velocity: [-4.473958059868867, -4.722233620327177], cost: 0.0, best_position: [3.0, 2.0], best_cost: 0.0 }
cost (best): 0
iters (best): 241
iters (total): 10000
termination: Maximum number of iterations reached
time: 1.3887014sMetadata
Metadata
Assignees
Labels
No labels