1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>TaskSketcherSolverAdvanced</class>
4
<widget class="QWidget" name="TaskSketcherSolverAdvanced">
5
<property name="geometry">
13
<property name="windowTitle">
14
<string notr="true">Form</string>
16
<layout class="QVBoxLayout" name="verticalLayout">
18
<layout class="QHBoxLayout" name="horizontalLayout_4">
20
<widget class="QLabel" name="labelDefaultSolver">
21
<property name="toolTip">
22
<string>Default algorithm used for Sketch solving</string>
24
<property name="text">
25
<string>Default solver:</string>
30
<widget class="Gui::PrefComboBox" name="comboBoxDefaultSolver">
31
<property name="toolTip">
32
<string>Solver is used for solving the geometry.
33
LevenbergMarquardt and DogLeg are trust region optimization algorithms.
34
BFGS solver uses the Broyden–Fletcher–Goldfarb–Shanno algorithm.</string>
36
<property name="currentIndex">
39
<property name="prefEntry" stdset="0">
40
<cstring>DefaultSolver</cstring>
42
<property name="prefPath" stdset="0">
43
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
46
<property name="text">
51
<property name="text">
52
<string>LevenbergMarquardt</string>
56
<property name="text">
57
<string>DogLeg</string>
65
<layout class="QHBoxLayout" name="horizontalLayout_4_2">
67
<widget class="QLabel" name="labelDogLegGaussStep">
68
<property name="toolTip">
69
<string>Type of function to apply in DogLeg for the Gauss step</string>
71
<property name="text">
72
<string>DogLeg Gauss step:</string>
77
<widget class="Gui::PrefComboBox" name="comboBoxDogLegGaussStep">
78
<property name="toolTip">
79
<string>Step type used in the DogLeg algorithm</string>
81
<property name="currentIndex">
84
<property name="prefEntry" stdset="0">
85
<cstring>DogLegGaussStep</cstring>
87
<property name="prefPath" stdset="0">
88
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
91
<property name="text">
92
<string>FullPivLU</string>
96
<property name="text">
97
<string>LeastNorm-FullPivLU</string>
101
<property name="text">
102
<string>LeastNorm-LDLT</string>
110
<layout class="QHBoxLayout" name="horizontalLayout_2">
112
<widget class="QLabel" name="labelMaxIter">
113
<property name="toolTip">
114
<string>Maximum number of iterations of the default algorithm</string>
116
<property name="text">
117
<string>Maximum iterations:</string>
122
<widget class="Gui::PrefSpinBox" name="spinBoxMaxIter">
123
<property name="toolTip">
124
<string>Maximum iterations to find convergence before solver is stopped</string>
126
<property name="alignment">
127
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
129
<property name="maximum">
132
<property name="value">
135
<property name="prefEntry" stdset="0">
136
<cstring>MaxIter</cstring>
138
<property name="prefPath" stdset="0">
139
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
146
<layout class="QHBoxLayout" name="horizontalLayout_3">
148
<widget class="QLabel" name="labelSketchSizeMultiplier">
149
<property name="toolTip">
150
<string>If selected, the Maximum iterations value is multiplied by the sketch size</string>
152
<property name="text">
153
<string>Sketch size multiplier:</string>
158
<widget class="Gui::PrefCheckBox" name="checkBoxSketchSizeMultiplier">
159
<property name="sizePolicy">
160
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
161
<horstretch>0</horstretch>
162
<verstretch>0</verstretch>
165
<property name="toolTip">
166
<string>Maximum iterations will be multiplied by number of parameters</string>
168
<property name="layoutDirection">
169
<enum>Qt::RightToLeft</enum>
171
<property name="text">
174
<property name="prefEntry" stdset="0">
175
<cstring>SketchSizeMultiplier</cstring>
177
<property name="prefPath" stdset="0">
178
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
185
<layout class="QHBoxLayout" name="horizontalLayout_9">
187
<widget class="QLabel" name="labelSolverConvergence">
188
<property name="toolTip">
189
<string>Error threshold under which convergence is reached</string>
191
<property name="text">
192
<string>Convergence:</string>
197
<widget class="Gui::PrefLineEdit" name="lineEditConvergence">
198
<property name="toolTip">
199
<string>Threshold for squared error that is used
200
to determine whether a solution converges or not</string>
202
<property name="layoutDirection">
203
<enum>Qt::LeftToRight</enum>
205
<property name="text">
206
<string notr="true">1E-10</string>
208
<property name="alignment">
209
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
211
<property name="prefEntry" stdset="0">
212
<cstring>Convergence</cstring>
214
<property name="prefPath" stdset="0">
215
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
222
<layout class="QHBoxLayout" name="horizontalLayout_10">
224
<widget class="QLabel" name="labelSolverParam1">
225
<property name="text">
226
<string notr="true">Param1</string>
231
<widget class="Gui::PrefLineEdit" name="lineEditSolverParam1">
232
<property name="alignment">
233
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
235
<property name="prefEntry" stdset="0">
236
<cstring>param</cstring>
238
<property name="prefPath" stdset="0">
239
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
246
<layout class="QHBoxLayout" name="horizontalLayout_11">
248
<widget class="QLabel" name="labelSolverParam2">
249
<property name="text">
250
<string notr="true">Param2</string>
255
<widget class="Gui::PrefLineEdit" name="lineEditSolverParam2">
256
<property name="alignment">
257
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
259
<property name="prefEntry" stdset="0">
260
<cstring>param</cstring>
262
<property name="prefPath" stdset="0">
263
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
270
<layout class="QHBoxLayout" name="horizontalLayout_12">
272
<widget class="QLabel" name="labelSolverParam3">
273
<property name="text">
274
<string notr="true">Param3</string>
279
<widget class="Gui::PrefLineEdit" name="lineEditSolverParam3">
280
<property name="alignment">
281
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
283
<property name="prefEntry" stdset="0">
284
<cstring>param</cstring>
286
<property name="prefPath" stdset="0">
287
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
294
<layout class="QHBoxLayout" name="horizontalLayout">
296
<widget class="QLabel" name="labelQRAlgorithm">
297
<property name="toolTip">
298
<string>Algorithm used for the rank revealing QR decomposition</string>
300
<property name="text">
301
<string>QR algorithm:</string>
306
<widget class="Gui::PrefComboBox" name="comboBoxQRMethod">
307
<property name="toolTip">
308
<string>During diagnosing the QR rank of matrix is calculated.
309
Eigen Dense QR is a dense matrix QR with full pivoting; usually slower
310
Eigen Sparse QR algorithm is optimized for sparse matrices; usually faster</string>
312
<property name="currentIndex">
315
<property name="prefEntry" stdset="0">
316
<cstring>QRMethod</cstring>
318
<property name="prefPath" stdset="0">
319
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
322
<property name="text">
323
<string>Eigen Dense QR</string>
327
<property name="text">
328
<string>Eigen Sparse QR</string>
336
<layout class="QHBoxLayout" name="horizontalLayout_18">
338
<widget class="QLabel" name="labelPivotThreshold">
339
<property name="text">
340
<string>Pivot threshold</string>
345
<widget class="Gui::PrefLineEdit" name="lineEditQRPivotThreshold">
346
<property name="toolTip">
347
<string>During a QR, values under the pivot threshold are treated as zero</string>
349
<property name="text">
350
<string>1E-13</string>
352
<property name="alignment">
353
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
355
<property name="prefEntry" stdset="0">
356
<cstring>QRPivotThreshold</cstring>
358
<property name="prefPath" stdset="0">
359
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
366
<layout class="QHBoxLayout" name="horizontalLayout_5">
368
<widget class="QLabel" name="labelRedundantSolver">
369
<property name="toolTip">
370
<string>Solving algorithm used for determination of Redundant constraints</string>
372
<property name="text">
373
<string>Redundant solver:</string>
378
<widget class="Gui::PrefComboBox" name="comboBoxRedundantDefaultSolver">
379
<property name="toolTip">
380
<string>Solver used to determine whether a group is redundant or conflicting</string>
382
<property name="currentIndex">
385
<property name="prefEntry" stdset="0">
386
<cstring>RedundantDefaultSolver</cstring>
388
<property name="prefPath" stdset="0">
389
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
392
<property name="text">
393
<string>BFGS</string>
397
<property name="text">
398
<string>LevenbergMarquardt</string>
402
<property name="text">
403
<string>DogLeg</string>
411
<layout class="QHBoxLayout" name="horizontalLayout_6">
413
<widget class="QLabel" name="labelRedundantSolverMaxIterations">
414
<property name="toolTip">
415
<string>Maximum number of iterations of the solver used for determination of Redundant constraints</string>
417
<property name="text">
418
<string>Redundant max. iterations:</string>
423
<widget class="Gui::PrefSpinBox" name="spinBoxRedundantSolverMaxIterations">
424
<property name="toolTip">
425
<string>Same as 'Maximum iterations', but for redundant solving</string>
427
<property name="alignment">
428
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
430
<property name="maximum">
433
<property name="value">
436
<property name="prefEntry" stdset="0">
437
<cstring>RedundantSolverMaxIterations</cstring>
439
<property name="prefPath" stdset="0">
440
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
447
<layout class="QHBoxLayout" name="horizontalLayout_7">
449
<widget class="QLabel" name="labelRedundantSketchSizeMultiplier">
450
<property name="toolTip">
451
<string>If selected, the Maximum iterations value for the redundant algorithm is multiplied by the sketch size</string>
453
<property name="text">
454
<string>Redundant sketch size multiplier:</string>
459
<widget class="Gui::PrefCheckBox" name="checkBoxRedundantSketchSizeMultiplier">
460
<property name="toolTip">
461
<string>Same as 'Sketch size multiplier', but for redundant solving</string>
463
<property name="layoutDirection">
464
<enum>Qt::RightToLeft</enum>
466
<property name="text">
469
<property name="prefEntry" stdset="0">
470
<cstring>RedundantSketchSizeMultiplier</cstring>
472
<property name="prefPath" stdset="0">
473
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
480
<layout class="QHBoxLayout" name="horizontalLayout_13">
482
<widget class="QLabel" name="labelRedundantConvergence">
483
<property name="toolTip">
484
<string>Error threshold under which convergence is reached for the solving of redundant constraints</string>
486
<property name="text">
487
<string>Redundant convergence</string>
492
<widget class="Gui::PrefLineEdit" name="lineEditRedundantConvergence">
493
<property name="toolTip">
494
<string>Same as 'Convergence', but for redundant solving</string>
496
<property name="text">
497
<string>1E-10</string>
499
<property name="alignment">
500
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
502
<property name="prefEntry" stdset="0">
503
<cstring>RedundantConvergence</cstring>
505
<property name="prefPath" stdset="0">
506
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
513
<layout class="QHBoxLayout" name="horizontalLayout_14">
515
<widget class="QLabel" name="labelRedundantSolverParam1">
516
<property name="text">
517
<string notr="true">Redundant param1</string>
522
<widget class="Gui::PrefLineEdit" name="lineEditRedundantSolverParam1">
523
<property name="alignment">
524
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
526
<property name="prefEntry" stdset="0">
527
<cstring>param</cstring>
529
<property name="prefPath" stdset="0">
530
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
537
<layout class="QHBoxLayout" name="horizontalLayout_15">
539
<widget class="QLabel" name="labelRedundantSolverParam2">
540
<property name="text">
541
<string notr="true">Redundant param2</string>
546
<widget class="Gui::PrefLineEdit" name="lineEditRedundantSolverParam2">
547
<property name="alignment">
548
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
550
<property name="prefEntry" stdset="0">
551
<cstring>param</cstring>
553
<property name="prefPath" stdset="0">
554
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
561
<layout class="QHBoxLayout" name="horizontalLayout_16">
563
<widget class="QLabel" name="labelRedundantSolverParam3">
564
<property name="text">
565
<string notr="true">Redundant param3</string>
570
<widget class="Gui::PrefLineEdit" name="lineEditRedundantSolverParam3">
571
<property name="alignment">
572
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
574
<property name="prefEntry" stdset="0">
575
<cstring>param</cstring>
577
<property name="prefPath" stdset="0">
578
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
585
<layout class="QHBoxLayout" name="horizontalLayout_8">
587
<widget class="QLabel" name="labelDebugMode">
588
<property name="toolTip">
589
<string>Degree of verbosity of the debug output to the console</string>
591
<property name="text">
592
<string>Console debug mode:</string>
597
<widget class="Gui::PrefComboBox" name="comboBoxDebugMode">
598
<property name="toolTip">
599
<string>Verbosity of console output</string>
601
<property name="currentIndex">
604
<property name="prefEntry" stdset="0">
605
<cstring>DebugMode</cstring>
607
<property name="prefPath" stdset="0">
608
<cstring>Mod/Sketcher/SolverAdvanced</cstring>
611
<property name="text">
612
<string>None</string>
616
<property name="text">
617
<string>Minimum</string>
621
<property name="text">
622
<string>Iteration Level</string>
630
<layout class="QHBoxLayout" name="horizontalLayout_17">
632
<widget class="QPushButton" name="pushButtonSolve">
633
<property name="text">
634
<string>Solve</string>
639
<widget class="QPushButton" name="pushButtonDefaults">
640
<property name="toolTip">
641
<string>Resets all solver values to their default values</string>
643
<property name="text">
644
<string>Restore Defaults</string>
654
<class>Gui::PrefLineEdit</class>
655
<extends>QLineEdit</extends>
656
<header>Gui/PrefWidgets.h</header>
659
<class>Gui::PrefComboBox</class>
660
<extends>QComboBox</extends>
661
<header>Gui/PrefWidgets.h</header>
664
<class>Gui::PrefCheckBox</class>
665
<extends>QCheckBox</extends>
666
<header>Gui/PrefWidgets.h</header>
669
<class>Gui::PrefSpinBox</class>
670
<extends>QSpinBox</extends>
671
<header>Gui/PrefWidgets.h</header>