 |
-
Open the
KwoConstraintswithWeights.CATPart file. The following image is
displayed:
 |
This file contains a triangle. The sides of the
triangle are assigned parameters valuated by formulas.
-
f1: Distance between Point.1 and
Point.3. It is valuated by Formula.1.
-
f2: Distance between Point.2 and
Point.3. It is valuated by Formula.2.
-
l1: Distance between Point.1 and
Point.3. It is valuated by Formula.3.
-
l2: Distance between Point.2 and
Point.3. It is valuated by Formula.4.
|
-
From the Start > Knowledgeware menu, access
the Product Engineering Optimizer workbench and click the
Optimize icon ( ).
The Optimization dialog box is displayed.
-
Define the data required to run the optimization
algorithm as follows:
In the Problem tab
|
|
|
|
In the Constraints tab
|
|
-
Assign a weight to Constraint.1. To do so, click
Constraint.1 in the table and enter 5 in the Weight
field.
-
Set the precision value to 0.01.
|
-
Click With update visualization and click
Run optimization. Enter the name of the file that will contain the
optimization data in the Save as dialog box:
Constraintswithweights.xls, and click Save.
-
Assign a weight to Constraint.2. To do so, click
Constraint.2 in the table and enter 10 in the Weight field.
-
Click Run optimization. Click Yes when
prompted to overwrite Constraintswithweights.xls.
The result is displayed in the Constraints tab. |
 |
The geometry is updated. The representation of
Point.3 tends to the left. |
Point.3 coordinates are updated in the
specification tree. |
-
Click the Computations results tab. The results are
sorted in the Sorted results table (see graphic below).
 |
Note that you can:
|
|