View Issue Details

IDProjectCategoryView StatusLast Update
0003961SketcherBugpublic2019-05-13 16:58
Reporterkisolre Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version0.19 
Target Version0.19Fixed in Version 
Summary0003961: DogLeg fail
DescriptionFollowing the request in the Report View here is a situation where DogLeg fails but LevenbergMarquardt succeeds
Steps To ReproduceRepeat the steps in the video in the following post with the file m_constrained_2.fsctd from the same post: Post
1.Open sketch01
2.Change dimmension 10mm to 24mm
3.Change dimmension 6mm to 20mm
4.Exit sketch
In report view I get:
EigenSparseQR, Threads: 1, Vectorization: On, Pivot Threshold: 1e-13, Params: 12, Constr: 12, Rank: 12
Sketcher::setUpSketch()-T:0.081
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
Sketcher::Solve()-DogLeg-T:0
EigenSparseQR, Threads: 1, Vectorization: On, Pivot Threshold: 1e-13, Params: 12, Constr: 12, Rank: 12
Sketcher::setUpSketch()-T:0.019
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL, Iteration: 0, fx_inf(tolf): 13.9, g_inf(tolg): 13.9, delta(f(tolx)): 0.3, err(divergingLim): 96.605
DL, Iteration: 1, fx_inf(tolf): 13.6, g_inf(tolg): 13.6, delta(f(tolx)): 0.9, err(divergingLim): 92.48
DL, Iteration: 2, fx_inf(tolf): 12.7, g_inf(tolg): 12.7, delta(f(tolx)): 2.7, err(divergingLim): 80.645
DL, Iteration: 3, fx_inf(tolf): 10, g_inf(tolg): 10, delta(f(tolx)): 8.1, err(divergingLim): 50
DL, Iteration: 4, fx_inf(tolf): 1.9, g_inf(tolg): 1.9, delta(f(tolx)): 24.3, err(divergingLim): 1.805
DL, Iteration: 5, fx_inf(tolf): 0, g_inf(tolg): 0, delta(f(tolx)): 24.3, err(divergingLim): 0
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
Sketcher::Solve()-DogLeg-T:0.011
EigenSparseQR, Threads: 1, Vectorization: On, Pivot Threshold: 1e-13, Params: 12, Constr: 12, Rank: 12
Sketcher::setUpSketch()-T:0
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL, Iteration: 0, fx_inf(tolf): 13.9, g_inf(tolg): 13.9, delta(f(tolx)): 0.3, err(divergingLim): 96.605
DL, Iteration: 1, fx_inf(tolf): 13.6, g_inf(tolg): 13.6, delta(f(tolx)): 0.9, err(divergingLim): 92.48
DL, Iteration: 2, fx_inf(tolf): 12.7, g_inf(tolg): 12.7, delta(f(tolx)): 2.7, err(divergingLim): 80.645
DL, Iteration: 3, fx_inf(tolf): 10, g_inf(tolg): 10, delta(f(tolx)): 8.1, err(divergingLim): 50
DL, Iteration: 4, fx_inf(tolf): 1.9, g_inf(tolg): 1.9, delta(f(tolx)): 24.3, err(divergingLim): 1.805
DL, Iteration: 5, fx_inf(tolf): 0, g_inf(tolg): 0, delta(f(tolx)): 24.3, err(divergingLim): 0
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
Sketcher::Solve()-DogLeg-T:0
EigenSparseQR, Threads: 1, Vectorization: On, Pivot Threshold: 1e-13, Params: 12, Constr: 12, Rank: 12
Sketcher::setUpSketch()-T:0
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
DL: tolg: 1e-80, tolx: 1e-80, tolf: 1e-10, convergence: 1e-10, dogLegGaussStep: LeastNormLdlt, xsize: 1, csize: 1, maxIter: 100
DL: stopcode: 1, Success
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.02
Sketcher::Solve()-DogLeg-T:0.011
Sketcher::setUpSketch()-T:0.002
Sketcher::Solve()-DogLeg- Failed!! Falling back...
Important: the LevenbergMarquardt solver succeeded where the DogLeg solver had failed.
If you see this message please report a way of reproducing this result at
http://www.freecadweb.org/tracker/main_page.php
Sketcher::Solve()-LevenbergMarquardt-T:0.007
Hide main window
Show main window
Hide main window
Show main window
Additional Information
OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16624 (Git)
Build type: Release
Branch: master
Hash: 222ae7305fdf1097e4ef3d050f69dff47dbd8786
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Bulgarian/Bulgaria (bg_BG)
TagsNo tags attached.
FreeCAD Information

Activities

kisolre

2019-05-06 17:21

reporter  

m_constrained_2.FCStd (38,978 bytes)

Issue History

Date Modified Username Field Change
2019-05-06 17:21 kisolre New Issue
2019-05-06 17:21 kisolre File Added: m_constrained_2.FCStd
2019-05-13 16:58 Kunda1 Status new => confirmed
2019-05-13 16:58 Kunda1 Target Version => 0.19
2019-05-13 16:58 Kunda1 Steps to Reproduce Updated View Revisions
2019-05-13 16:58 Kunda1 Additional Information Updated View Revisions