Product Engineering Optimizer

Size: px
Start display at page:

Download "Product Engineering Optimizer"

Transcription

1 Product Engineering Optimizer Page 1 Preface Using this Guide What's New Getting Started Basic Tasks Using the Optimize Function Defining an Optimization Getting Familiar with the Optimization Dialog Box The Problem Tab The Constraints Tab The Computations Results Tab To know more about the Computations results tab Specifying the Algorithm to be Run Searching for a Maximum Value Searching for a Minimum Value Using the Gradient based Algorithm to Optimize Problems with non satisfied constraints Using Constraints Running a Constrained Optimization With Weights Using the Constraint Satisfaction Function Using the Constraint Satisfaction Function Getting Familiar with the Constraints Satisfaction Editor Using Measured Parameters in a Constraint Satisfaction Computation Using the Design of Experiments Tool Introducing the Design of Experiments Tool Getting Familiar with the Design of Experiments Window Using the Design of Experiments Tool Tips and Tricks Advanced Tasks Interpreting Results Methodology Tips and Tricks Optimal CATIA PLM Usability for Product Engineering Optimizer Workbench Description Product Engineering Optimizer Toolbar Constraint Satisfaction Toolbar Customizing for Knowledgeware Knowledge Tab Language tab Report Generation Tab Glossary Index

2 Preface Page 2 Optimization plays a prominent role in structural design. The importance of minimum weight design of structures is recognized in most industries because the weight of the system affects its performance or because of the depletion of our conventional energy sources. But optimization is not only a matter of weight, it can be used to optimize any type of data. In real world engineering problems, it is also common to minimize an objective function describing data such as the total volume, the life-time or the cost of a structure. The Product Engineering Optimizer is the CATIA answer to optimization. It provides engineers who design structures with an easy-to-use tool based on iterative methods. Using the Product Engineering Optimizer is mainly a question of practice and methodology. The Product Engineering Optimizer can operate with two algorithms: the Conjugate Gradient and the Simulated Annealing. You select one or the other to run an optimization depending on the function to analyze. Although it is not required to have a prior preparation in optimization techniques, those of you who want to know in detail how these algorithms work can refer to the publications below: Numerical Recipes in C - The Art of Scientific Computing - ISBN , Nonconvex Minimization Calculations and the Conjugate Gradient Method, Powell, M.J.D., Lecture Notes in Mathematics, Vol. 1066, pp , [Advanced review on conjugate gradient for nonconvex functions.] Optimization by Simulated Annealings, Randelman, R. E., and Grest, G.S., N-City Traveling Salesman Problem -, J.Stat. Phys. 45, , Function Minimization by Conjugate Gradients, Fletcher, R. and Reeves, C.M., Comp, J. 7, , [Advanced article on using conjugate gradient for nonconvex functions.] Conventions Using this Guide

3 Using this Guide Page 3 This User's Guide is intended to help users become quickly familiar and efficient with the CATIA Version 5 Product Engineering Optimizer. Before reading it, users should be familiar with the basic CATIA Version 5 concepts, such as the document windows, standard toolbars and menus. To get the most out of this guide, it is highly recommended to start reading and performing the tasks described in the step-by-step tutorial, known as the Getting Started section. This User's Guide is organized into the following sections: Preface: a short introduction to the product. Getting Started: a step-by-step tutorial. Basic Tasks: a presentation of the most common tasks. Advanced Tasks: a presentation of more advanced product functions. Workbench Description: a presentation of the user interface. Glossary: a list of terms specific to Product Engineering Optimizer.

4 What's New? Page 4 New Functionality Using Measured Parameters in Constraints Satisfactions Knowledgeware parameters that are valuated by a formula are now taken into account by the constraint satisfaction function. Multiple Solutions in Constraints Satisfactions It is possible for the user to find more than one solutions to a problem in the Constraints Satisfaction editor. Optimal CATIA PLM Usability for Product Engineering Optimizer Safe save mode to ensure that data created in CATIA can be correctly saved in ENOVIA V5.

5 Getting Started Page 5 Let's take a simple example to introduce the CATIA Product Engineering Optimizer capabilities. Follow the step-by-step instructions described below to get a first appreciation of the CATIA Product Engineering Optimizer principles. To know more about the optimization data as well as the algorithms to be run, see Defining an Optimization and Specifying the Algorithm to be Run. The purpose of this task is to provide the user with a brief outline of how the optimizer works when searching for a target value in both operating modes. No computed data are given since: The behavior of the optimization process slightly depends on the platform. This is particularly true for the Simulated Annealing algorithm. The algorithms are subject to changes from one version to the other. Searching for a target value with the Simulated Annealing Algorithm 1. Open the KwoGettingStarted.CATPart document. 2. If need be: Check the Parameters and Relations options in the Display tab of the Tools->Options...->Infrastructure->Part Infrastructure dialog box. Check the With Value, With Formula options in the Knowledge tab of the Tools->Options...->General->Parameters and Measure dialog box. Check the Load Extended Language libraries and, under Packages to load, select the PartDesign package or check All Packages in the Language tab. Click OK.

6 Page 6 Set the volume unit to cm3. To do so, select the Parameters and Measure option and click the Units tab. In the Units table, select the Volume line and in the scrolling list located below, select Cubic centimeter (cm3). Click OK to validate your settings. 3. From the Start->Knowledgeware menu, access the Product Engineering Optimizer workbench. 4. Click the icon. The Optimization dialog box displays. 5. In the Problem tab, fill in the fields with the data below: Optimization type Optimized Parameter Target value Free Parameters Algorithm Target Value Volume.1 800cm3 xa, ya, xb Simulated Annealing Convergence speed: Fast Don't modify the default termination criteria. 6. Check the Save optimization data check box, otherwise the optimization data won't be saved. 7. Check the With update visualization check box. Don't fill in any field in the Constraints tab. 8. Click Run Optimization. A file selection panel is displayed. Choose a path. Click Save to start the optimization process. A box displays the data computed for each iteration. As the optimization is running, you can see the Volume.1 value changing in the specification tree, if not, expand the Relations node in the specification tree.

7 Page 7 After the computation has finished running, the Optimization dialog box displays the values of the free parameters. 9. Click OK and save your document under a new name Searching for a Target Value with the Gradient Algorithm 1. Re-open the KwoGettingStarted.CATPart document. 2. Repeat the same interactions as above but specify a Gradient algorithm in the Optimization dialog box. Don't fill in any field in the Constraints tab. You need approximately 75 evaluations to reach a Volume.1 steady value. The target value is reached quicker than in simulated annealing. To know more about the Gradient and the Simulated Annealing algorithms, see Defining and Optimization.

8 Basic Tasks Page 8 Using the Optimize Function Using the Constraint Satisfaction Function Using the Design of Experiments Tool Tips and Tricks

9 Using the Optimization Function Page 9 The following tasks are described in this guide: Searching for a Maximum Value, Searching for a Minimum Value: Select the Optimize icon to perform an optimization. Defining an Optimization Getting Familiar with the Optimization Dialog Box Specifying the Algorithm to be Run Searching for a Maximum Value Searching for a Minimum Value Using the Gradient Based Algorithm to optimize Problems with non satisfied constraints Using Constraints Running a Constrained Optimization With Weights

10 Defining an Optimization Page 10 Optimization is the process of searching for the minimum, maximum, or for a target value of an Objective function of one or several variables while satisfying certain restrictions or constraints. A good example of optimization is the minimum weight design of structures in aerospace industry where aircraft structural designs often prevail on cost considerations. The notion of optimization presupposes that the operation to be improved or optimized is described by a function whose variation can be expressed with respect to a group of parameters, also called variables or free parameters. Given f(x) a CATIA parameter expressed in terms of other CATIA parameters: Min f(x,..., xn) such that: gi (x1,...) > Ki hj (x1,..., xn) == Kj LB [ xi[ UB Where: f(x) is a Knowledge Advisor formula (Optimization objective function). = (x 1,..., x n ) x i is a Knowledge Advisor parameter (Optimization free parameters). g, h are constraints (optional). Product Engineering Optimizer offers three operating modes whereby you can search for the: f(x) minimum, f(x) maximum, a given value of f(x) or a constraints satisfaction. These operating modes are respectively called the Minimization, the Maximization and the Target Value modes.

11 Page 11 Getting Familiar with the Optimization Dialog Box The dialog box is displayed when you click the Optimize ( ) icon. It provides you with three tabs. The Problem tab The Constraints Tab The Computations results Tab In the optimization panel, the user can choose if the optimization is launched with or without visualization update by clicking the With update visualization or the Without update visualization option. In non visualization mode (Without update visualization), performances have been improved. Gains between both modes (With update visualization and Without update visualization) range from 15% to 40% depending on the models and the optimizations.

12 Page 12 The Problem Tab The Constraints Tab The Computation Results Tab

13 The Problem Tab Page 13 Optimization type

14 Page 14 The list provides you with the: Minimization Maximization Target Value Only constraints items which define the optimization type. Optimized parameter Click Select... to display the list of parameters that can be potentially optimized. Free parameters To specify free parameters, click the Edit list... button. To specify bounds for a free parameter, select the parameter you want to add bounds to in the Free Parameters list, then click Edit ranges and step... The dialog box which is displayed also allows you to specify a step (see picture opposite.) It is now possible to simultaneously valuate the ranges and steps of several free parameters. To do so, proceed as follows: 1. Select 1 free parameter and apply it ranges and/or steps (unchanged). 2. Select several free parameters and click the Edit Ranges and step button: The panel is filled with the values of the first selected free parameter. All "Apply..." options are enabled. Note that : To apply the same ranges and/or steps to free parameters, their types should be identical. If not, an

15 error panel displays. Page 15 Note that if one of the "Apply this... to the selected parameters" check boxes is unchecked, the modifications performed (value changed or removed) on the corresponding range and/or the step will not be taken into account for the selected parameters. The old configuration is kept for each selected parameter. Therefore, if the user modifies the value (or removes it by unchecking the first check of the row) of a range or a step, and then unchecks the corresponding 'Apply this... selected parameters' check box, the modification will not be taken in account. The selected parameters will keep their own values. If the Inf. Range check box is unchecked, the selected parameters will have no inferior range. It is also true for the Sup. Range and the Step. When selecting the free parameters, the associated parameters are highlighted in the Catia tree. It is now possible for the user to edit the steps directly in the cells. Available Algorithms See Specifying the Algorithm to be Run. Global Search vs. Local Search Simulated Annealing (Global Algorithm) Equality constraints allowed Precision is managed as a termination criteria. x == A is fulfilled when abs(x - A) < precision Can be run with constraints and no objective function Gradient (Local Algorithm) Equality constraints not allowed No precision Must be run with an objective function, with or without specified constraints. Termination criteria If you don't know how the objective function is going to behave, run the algorithm with the default values. If need be, you can always re-run the algorithm if the process seems to require more iterations. Optimization data To benefit from the optimization curves, save your optimization data. When the Save optimization data box is checked, clicking Run Optimization displays a file selection dialog box.

16 Page 16 Note that when the With update visualization radio button is checked, the visualization is updated during the optimization process. If this radio button is unchecked, the visualization is not updated during the optimization process.

17 The Constraints Tab The Constraints Tab Page 17 Creating a constraint To create a constraint, click the New... button (The editor displayed is familiar to those of you who use the Knowledge Advisor product.) Constraints cannot be regrouped. You must enter each constraint one by one. The only operators that you can use when specifying constraints are: == (only Simulated Annealing) <, > (both algorithms). Once a constraint has been specified, its gap with respect to the value specified in the constraint is displayed. An icon indicates whether the initial value fulfills the constraint. An additional column now lists the weight assigned to each constraint. The user can modify the weight in this column. Activating a constraint A constraint can be made active (True) or inactive (False) by using the Activity field. A deactivated constraint is ignored by the optimization algorithm. Editing a constraint body Click the Edit... button to access the Optimization Constraints Editor to modify the constraint body. Note that this Editor is similar to the

18 Formula Editor. Page 18 It is now possible for the user to modify constraints weights by using the Weight field. To do so, select the constraint in the list and enter a new weight in the Weight field.

19 The Computations Results Tab Page 19 Note that this tab is available only if you checked the Save optimization data option before running the optimization. The Constraints priorities Field This field lists the constraints and the weights they are assigned. Note that those weights are different from the weights used by the algorithms to search for the solutions. You can change these weights to explore their influence on the already computed results when you look at them

20 Page 20 with the lexicographic sort. Changing those weights has no influence on the generated results i.e. they just present the existing ones under a new aspect. Note that: It is possible to edit constraints weights in this field. To do so, click the desired cell, and enter the new weight. If you modify a constraint weight, the Sorted results list is automatically updated. Modifying a constraint weight in this tab will only impact the Lexicographic sort and not the algorithm. This may be useful to check the impact of a different weight without running the algorithm. If a weight is equal to 0, the default algorithm is used. 1 is the lowest weight that can be applied. There is no upper limit. Weights are reals (1.2 for example) The Settings of the results sort Field Historic Sort: The results are displayed in the computation order. Lexicographic sort: The results are displayed going from the best to the worst, while taking the weights assigned to the constraints into account. To know more, see Running a Constrained Optimization With Weights. Results to display scrolling list All: All results will display in the sorted list. All constraints satisfied only: Only the results concerning the satisfied constraints will display in the sorted list. User defined: Only the items selected by the user will display in the sorted list. The Sorted Results Field This list displays the result of the optimization according to the filters applied and the sorting type (Historic sort or Lexicographic sort). The button enables the user to select a row in the list and to apply the values indicated in this row to the parameters. The Curves Field The button enables the user to select the parameters of the optimization file whose evolution will display in the curves. To know more, see Interpreting Results.

21 The Show curves... button enables the user to display the curves showing the parameters during the optimization process. Page 21 To know more, see To know more about the Computations results tab.

22 To know more about the Computations results tab Page 22 Algorithms Description Simulated Annealing (global search): All constraints are introduced at once in the algorithm. Priorities are handled by assigning weights corresponding to priorities to each constraint. A global function which regroups the objective and the modified constraints constitute the new objective function of the optimization. Gradient Based Methods (Local search): All the constraints must be differentiable as well as the objective function. The optimizer takes each constraint modified by its weight into account during the optimization process. The weights impact the search direction of the gradient. Thus in both cases modifying the weights might lead to different solutions for the same problem definition. Exploiting Results: Filtering and Handling Weights Priorities are handled at 2 levels: Constraints are handled a priori in the algorithms for better convergence. Weights are handled in the results post-processing in order to identify the best results according to the objective and constraints priorities. Constraints values are sorted from the highest to the lowest constraint priority starting from the highest priority. For two equivalent values of a given constraint the order is based on the next priority constraint (lexicographic order). When several constraints have equivalent priority a Pareto order is used to define the classification (i.e. a solution is equivalent to another solution if improving one constraint of same priority make (at least) another constraint worst. A solution is better if at least one constraint of the same priority is improved leaving the others unchanged or improved.). Lexicographic order Weights are all different Constraints C1 C2 C3 Index # Class # Weights Values * * In the table opposite, to know which row is the best, we first compare the values of c2 (highest weight: 3). If they are equal, we compare the values of c1 (example of Class # 2* and 1*) and so on in case of equality.

23 Page 23 ConstraintsC1 C2 C3 Index #Class # Weights Values (based on c1) * (based on c1 since c3 values are equal) * In the table opposite, the C1 values must be taken into account since C2 and C1 values are equal. When weights are all equal, the only equivalence of 2 solutions occurs when all constraint values are equal between the 2 different solutions. Changing priorities changes the ranking of the solutions (Class #) Some Weights are equal ConstraintsC1 C2 C3 Index # Class # Weights Values * * In the table opposite, if you consider only C1 and C2 values, 3 solutions are identical: 5, 4 and 2. Solution 3 is the intermediate solution and 1 is the worst If you consider, all constraints, you get the following order, going from the best to the worst: 2, 4, 5, 3, 1. * Both solutions are equivalent: When c2 increases, c3 decreases and conversely. Furthermore c1 is equal in both cases. All Weights are equal ConstraintsC1 C2 C3 Index # Class # Weights Values * In the table opposite, all solutions are strictly equivalent except 2. * All values are worse. Analyzing Results

24 Page 24 The results of the optimization display in the Computations Results tab of the Optimization dialog box (2). Note that priorities are displayed in this tab and can be changed (1). Modifying a constraint weight in this tab will only impact the Lexicographic sort and not the algorithm. Several constraints can have the same priorities, results can be multiple (i.e. equivalent solutions). Those solutions are presented in decreasing order of significance. The #Class column is the quality of the solution(3). Solutions belonging to the same class are equivalent. Filtering Results The results list can be filtered in order to restrict the number of solutions displayed and to re-order solutions: Historic sort: The results are displayed in the order of exploration by the algorithm. Lexicographic sort: The solutions are sorted in lexicographic order (the highest weight first). In case of equivalence (i.e. constraints with same weights), they appear in historic order but with the same class. Filters can also be applied to constraints values. A combo list enables the user to select the desired filter: All: All solutions will display. All constraints satisfied only: Only solutions with satisfied constraints will display. User defined: Only the items selected by the user will display in the sorted list. Selecting a Solution It is possible to select a solution by clicking the parameters. and to apply it to the

25 Specifying the Algorithm to be Run Page 25 Types of Algorithm To perform an optimization, you can use one of the algorithms below: User algorithm defined in CAAOptimizationInterfaces Users can define their own algorithms. To get an example, refer to the CAAOptimization interfaces. Gradient algorithm This algorithm should be used first to perform a local search. Based on the calculation of a local slope of the objective function this algorithm will use a parabolic approximation and jump to its minimum or use an iterated exponential step descent in the direction of the minimum. If the properties of the objective function are known (continuous, differentiable at all point), then the gradient can be used straight on. It is usually faster than the Simulated Annealing algorithm. From this version on, users can choose to run the Gradient algorithm with constraints or without constraints. Simulated Annealing based algorithm This algorithm is a global stochastic search algorithm hence two successive runs of this method might not lead to the same result. It performs a global search that evolves towards local searches as the time goes on. It is usually used to explore non-linear, multi-modal functions. These functions can also be discontinuous. If the shape of the objective function is unknown, it is recommended to start with a Simulated Annealing then refine the results with a gradient descent. This approach is slow but works for a larger amount of functions. A good way to quickly reach a solution when using the Simulated Annealing consists in specifying a low number of consecutive iterations without improvements (15 or 20). Each algorithm - the Gradient based algorithm and the Simulated Annealing algorithm - can be run in 3 different configurations (4 for the Simulated Annealing algorithm) corresponding to different behaviors: Slow Medium Fast Infinite (Hill climbing) (for Simulated Annealing only)

26 Page 26 Name Gradient Algorithm Simulated Annealing Algorithm Slow Medium Slow evolution based on steps or bounds. Good precision (to be used to find convergence.) A randomly restarted conjugate gradient. These 4 configurations define the level of acceptance of bad solutions. If the problem has many local optima, use Slow. If the problem has no local optima, use Infinite (Hill climbing). Fast Search jumps from Minimum to Minimum. Fast evolution, less precision. Infinite (Hill climbing) - Termination Criteria Termination criteria are used to stop the optimizer. When an optimization is running, a message box displays the data of each iteration. You can stop the computation by clicking Stop. If you don't intervene in the computation process, the computation will stop: When a value (minimum, maximum or target value) has been found and the algorithm is unable to progress anymore (Gradient.) or When one of the specified termination criteria has been met. Here are the termination criteria to be specified: Maximum number of iterations i.e. the number of times the objective function will be calculated at most (number of updates.) Number of iterations without improvement i.e. the number of updates allowed without achieving a better result. Maximum duration of computation Simulated Annealing always runs until one of the termination criterion is reached. The Gradient can stop before if a local optimum is reached. Algorithms Versions From time to time, the PEO algorithms are updated to enhance their performances or to correct some bugs. The side effect of these modifications is a change of behavior of the optimization process. It is however possible to come back to the previous versions of the algorithms by using environment variables (see table below.)

27 Page 27 Var Nam GradientVersion SAVersion GradientWithCstVersion Var Value R8Sp3, R9sp4, R10sp1, R11ga R8sp3 R8sp4, R11ga

28 Searching for a Maximum Value Page 28 This scenario illustrates the Maximization optimization type. The algorithm searches for the parameter values corresponding to a maximum value for Function2. The Simulated Annealing method is used. Lower and upper bounds (-10 and +10) are specified for the x argument. 1. Open the KwoGoal0.CATPart document or add to any document the parameters and formulas described in the specification tree below: 2. From the Start->Knowledgeware menu, access the Product Engineering Optimizer workbench and click the Optimize icon ( ). The Optimization dialog box is displayed. 3. Define the data required to run the optimization algorithm as follows: Optimization type Optimized Parameter Maximization Function2 Free Parameters x - Inf. Range: -10 ; Sup. Range: +10 Algorithm Simulated Annealing - Convergence speed: Fast Maximum number of updates Consecutive updates without improvements

29 Page 29 Maximum time (minutes) 5 minutes 4. Check the Save optimization data box, otherwise your optimization data won't be saved and you won't able to display the optimization curves. 5. Click Run Optimization. A file selection panel is displayed. Choose a path. Click Open. The optimization process starts. A panel displays the data computed for each iteration. As the optimization is running, you can see the Function2 and x values changing in the specification tree. A steady value of 500 is reached very early for Function2. The free parameters as well as the Function2 value are updated in the specification tree. Note that Real type parameters are displayed with nine decimal places (trailing zeros if any are not displayed). If you carry out an optimization with other parameter types, the values will be displayed according to the settings specified in the Units tab of the Tools->Options... dialog box (General - Parameters and Measure). 6. Replay the same scenario with a maximum number of updates of 50, then Click OK or Cancel to exit the Optimization dialog box.

30 Searching for a Minimum Value Page 30 The scenario below illustrates the Minimization Optimization type. The algorithm searches for the parameter values corresponding to a minimum value for Function2. The Gradient method is used. 1. Open the KwoGoal0.CATPart document or add to a document the parameters and formulas described in the specification tree below. The x, y, z, Function1 and Function2 parameters must be of real type. You don't need to specify their initial values. If need be, refer to the CATIA Knowledge Advisor User's Guide for information on how to create parameters and formulas. 2. From the Start->Knowledgeware menu, access the Product Engineering Optimizer workbench and click the Optimize icon ( ). The optimization dialog box is displayed. 3. Define the data required to run the optimization algorithm as follows: Optimization type: Optimized parameter: Free Parameters: Algorithm: Minimization Function2 x Gradient Maximum number of updates : 400 Consecutive updates without improvements: 100 Maximum time (minutes): 5 minutes 4. Click Run Optimization. a. The Optimization message box displays the data for each iteration. Don't intervene on the algorithm

31 Page 31 process (i.e. don't click Stop at the next iteration) and let the optimization process execute until the target value is found out or one of the termination condition is reached. b. The x parameter as well as the Function2 value are updated in the specification tree. Note that Real type parameters are displayed with nine decimal places (trailing zeros, if any, are not displayed). If you carry out an optimization with other parameter types, the values will be displayed according to the settings specified in the Units tab of the Tools- >Options... dialog box (General -> Parameters and measure). The x value (10) resulting from the computation is displayed in the optimization dialog box.

32 Page 32 Using the Gradient based Algorithm to Optimize Problems with non satisfied constraints This task explains how to use the Gradient based Algorithm to optimize Problems with non satisfied constraints. 1. Open the KwoGettingStarted.CATPart file. 2. From the Start->Knowledgeware menu, access the Product Engineering Optimizer workbench. 3. Click the Optimize icon ( ) to access the Optimization dialog box. The Optimization dialog box displays. 4. Enter the parameters below in the Problem tab: Optimization Type Optimized Parameter Target Value Target Value Volume mm3 Free Parameters Algorithm Termination Criteria Maximum number of updates Consecutive updates without improvements Maximum Time (minutes) Gradient - Fast Enter the following constraints in the Constraints tab:

33 Page 33 Constraint.1 Constraint.2 Z**2 + Y**2 < 5000 mm2 Y**2 + Z**2 > 1000 mm2 6. Click the Run Optimization button. The part should look like the one below once the optimization process is over: Click the graphic opposite to enlarge it. 7. Redefine the ranges of the free parameters (see below): Free Parameters 8. Click the Run Optimization button. The generated values are much closer to the Target value.

34 Page 34 Click the graphic opposite to enlarge it.

35 Using Constraints Page 35 In the scenario developed below, the simulated annealing algorithm is used with constraints and without objective function to search for a set of xa, xb, ya and yb parameters so that the inertia axis of the pad remains within an area defined by two circles. Here are the circle definitions as they are specified as constraints in the scenario below: Y**2 + Z**2 < 8100mm2 Y**2 + Z**2 < 1000mm2 After this part of the scenario has complete, the gradient algorithm is used to find a set of xa, xb, ya and yb so that the distance of the inertia axis to the origin is minimum. This second part of the scenario requires that the constraints are fulfilled. Note that it is possible to use constraints without objective (Simulated Annealing only) or with objective (available for both algorithms.) 1. Open the KwoGettingStarted.CATPart document. This document is a pad extruded from a spline. The relations defined in this document allow you to specify the position of an inertia axis. 2. From the Start->Knowledgeware menu, access the Product Engineering

36 Page 36 Optimizer workbench and click the Optimize icon ( is displayed. ). The optimization dialog box 3. Select the Only constraints optimization type. 4. In the Problem tab, enter the free parameters below: xa, xb, ya, yb. Don't select any optimized parameter. 5. Check the Simulated Annealing box. 6. In the Constraints tab, use the New... button to enter the constraint below Y**2 + Z**2 > 8100mm2 7. Click OK in the constraint editor, then click New... again to enter the second constraint: Y**2 + Z**2 < 10000mm2 8. In the Problem tab, click Run Optimization. After the optimization has finished running, you obtain a pad whose inertia axis is located in an area delimited by the two circles specified. Take a look at the Constraints tab. The constraints are all fulfilled. You can now start a gradient algorithm to search for the minimum value of the Rad parameter. 9. Click the Optimize icon ( ). In the Problem tab, select: Minimization as the optimization type. Rad as the parameter to be optimized and choose the Gradient algorithm. Don't modify the free parameters. 10. Run the optimization with the default termination criteria. After the optimization has finished running, the minimum value of Rad is closed to 90mm. You have found a set of xa, xb, ya, yb value so that the inertia axis of the pad is located almost on the circle defined by the relation below: Y**2 + Z**2 = 8100mm2

37 Running a Constrained Optimization With Weights Page 37 This task shows the user how to assign weights to constraints and how it can affect the geometry. The file provided is made up of a triangle. The scenario is divided into 2 steps: The user first wants to run the optimization so that the distance between the triangle vertex and Point.1 is as short as possible. Then the user wants to run the optimization so that the distance between the triangle vertex and Point.2 is as short as possible. To do so, he defines constraints and assign weights to these constraints. 1. Open the KwoConstraintswithWeights.CATPart file. The following image displays: 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 From the Start->Knowledgeware menu, access the Product Engineering Optimizer workbench and click the Optimize icon ( ). The Optimization dialog box is displayed.

38 Page Define the data required to run the optimization algorithm as follows: In the Problem tab In the Optimization type scrolling list, select the Only constraints option. Click the Edit list... button in the Free Parameters field. Use the arrow key to select the following parameters and click OK when done: Geometrical Set.1\Point.3\X Geometrical Set.1\Point.3\Z In the Algorithm type scrolling list, select Simulated Annealing Algorithm. In the Constraints tab Click the New... button to create a new constraint and enter the following script into the editor: f1*f1==0 Click OK when done. Click the New... button to create a new constraint and enter the following script into the editor: f2*f2==0 Click OK when done. The constraints are defined.

39 Page 39 Assign a weight to Constraint.1. To do so, click Constraint.1 in the table and enter 5 in the Weight field. Keep the default precision value (1) 4. Click the With update visualization radio button and click the Run Optimization button. Enter the name of the file that will contain the optimization data in the Save as dialog box: Constraintswithweights.xls, and click Save. The Optimization message box displays the data for each iteration. Do not intervene on the algorithm process (i.e. don't click Stop at the next iteration) and let the optimization process execute until the target value is found out or one of the termination condition is reached. The result displays in the Constraints tab. The geometry is updated. The representation of Point.3 tends to the right. Point.3 coordinates are updated in the specification tree. 5. Assign a weight to Constraint.2. To do so, click Constraint.2 in the table and enter 10 in the Weight field.

40 Page Click the Run Optimization button. Click Yes when asked if you want to overwrite Constraintswithweights.xls. The result displays 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. 7. Click the Computations results tab. The results are sorted in the Sorted results table (see graphic below).

41 Page 41 Note that you can: Apply values to parameters. Select the parameters that you want to display in a curve. Display curves.

42 Using the Constraint Satisfaction Function Page 42 The following tasks are described in this guide: Using the Constraint Satisfaction Function: Select the Constraint satisfaction icon to solve a set of constraints using operators, functions and measures. Using the Constraint Satisfaction Function Getting Familiar with the Constraints Satisfaction Editor Using Measured Parameters in a Constraint Satisfaction Computation

43 Using the Constraint Satisfaction Function Page 43 This task explains how to solve a set of constraints using operators, functions and measures. This scenario can be run from any document. The syntax of this feature is the same as the one of the set of equations. Note that the constraint satisfaction capabilities require the PEO product. 1. Create a pad with a rectangular base. 2. Use the Formula editor to create a Volume parameter. 3. From the Start->Knowledgeware menu, access the Product Engineering Optimizer workbench. 4. Click the Constraint Satisfaction icon ( ). In the first dialog box which is displayed, enter the name of the relation, and a comment (optional). Click OK. 5. Enter the set of equations below into the edition box: Volume==smartVolume (PartBody\Pad.1 ); PartBody\Pad.1\FirstLimit\Length >= 1mm; PartBody\Pad.1\FirstLimit\Length <= 1000mm Now, your editor looks like this: 5. Click the Parse arrow ( ). At this step the editor identifies the variables of the set of constraints and puts them as Unknown parameters.

44 Page 44 Before solving, select the parameters that will be considered as input (constant) and the parameters that will be considered as variables by the solver. The value of the input parameters must be set to the desired values. 6. Select the Volume parameter and use the arrow to move it to the Constant parameters column. 7. Change the value of the Volume parameter. To do so, click twice (slowly ) inside the Value cell and set the value to M 3. Click Apply. The following box displays:

45 Page 45 The pad height is modified by the constraints satisfaction solver in order to match the given volume (0.003 M3). 8. This process can be reversed: The input parameters can be transferred to outputs and vice-versa using the Switch input/output arrow ( ). It is now possible to change the value of the Pad height and obtain the volume as a result.

46 Page 46 A constraint satisfaction feature is not a conventional relation feature (like rules, checks, and formulas). It is an asynchronous feature (as the optimization.) Although input and output parameters are defined, changing an input outside the Constraint satisfaction editor does not trigger the solving process. Like sets of equations and unlike optimization, constraint satisfaction issues an "unresolved system" warning if the solver is unable to satisfy all the equations and inequations. If a set of constraints cannot be satisfied, you can relax the equality constraints by using a double inequality. Volume+epsilon<=smartVolume (PartBody\Pad.1 ); Volume-epsilon>=smartVolume (PartBody\Pad.1 ); PartBody\Pad.1\FirstLimit\Length >= 1mm; PartBody\Pad.1\FirstLimit\Length <= 1000mm; Using the Constraint Satisfaction Editor

47 Page 47 Getting Familiar with the Constraints Satisfaction Editor The dialog box is displayed when you click the Constraint Satisfaction ( ) icon. It is made up of three tabs. Editors tab Results tab Options tab Editors tab The Editor is divided into 3 main fields: The constraints body, i.e. their textual representation The Inputs and Outputs of the constraints The Dictionary of parameters and functions

48 Page 48 Constant parameters: The values of constant parameters are set by the user and are considered as constant by the solver. This value can be changed directly in the Value column by clicking twice (slowly) in the Value cell.

49 Page 49 Unknown parameters: The value of unknown parameters will be calculated once the Solve button is pushed. The Parse arrow is used to identify the variables of the set of constraints. It must be pushed before choosing input and output variables. The left arrow is used to move variables from the Unknown parameters category to the Constant parameters one. The right arrow is used to move variables from the Constant parameters category to the Unknown parameters one. The Switch input/output arrow is used to swap the selected constant and unknown parameters. Click the Solve button to launch the computation. Click Apply to launch the update of the model. Results tab Note that you can now find more than one solution to a single problem. To get an example, see Using Measured Parameters in a Constraint Satisfaction Computation.

50 Page 50 Solution Distance: Enter the distance between the different solutions that you want to find. Number of solutions to be found: Enter the number of solutions to be found. This field displays each constraint identifier in the body.

51 Page 51 This field displays the parameters taken into account by the computation and shows the solution found. Select one of the solutions and click the Apply solution button. The solution is automatically applied to the geometry and the parameters are valuated with those of the solution. Click this button if you want to save the result of the computation. Note that the results of the computation can be saved either in.txt or.xls format. Options tab Black box refers to a measure function. For instance, smartvolume is a measure that calculates the volume of a body. Use the Gauss method for linear equations: Accelerates the solve operation when working with linear equations. Algorithm Precision: Enables you to define the precision of the results (i.e the number of decimal digits after the decimal point.) This precision is used when comparing 2 numbers. This option defines whether they are equal or not. When dealing with units, the comparison is made on the basis of the MKS value of parameters. Termination criteria Maximal computation time (sec.): Enables you to indicate the computation time. If the indicated time is equal to 0, the computation will last until a solution is found. Generate expanded error description: Enables you to get detailed information about errors if they occur. Show 'Stop' dialog: If checked, displays a "Stop" dialog box that will enable you to interrupt the computation. Show additional warnings: Black boxes algorithm: You have the choice between 2 algorithms. If your problem behaves like quadratic functions, select Quadratic approximation.

52 Page 52 Black boxes parameters Precision (for Black boxes): A real number taken from the interval [1e- 10, 0,1]. This number has an influence on the accuracy of the solution found. Maximal number of Black boxes calls: This option allows you to limit the number of measures calculation. (equivalent to a time limit.) Width: This parameter sets the minimal width of the interval of unimodality for measures. For linear, quadratic and any monotonic measure, this value can be set to 1e 19. In a common case, the greater this value, the quicker the solver finds the solutions. However if you are not sure about the monotonicity of the problem, do not use this option. Number of attempts: This option is only used for sets of constraints with more than one variable. This option changes the number of start points used by the solver. For instance, for a 2- dimensional problem, the following number of calls will be performed: Number of attempts: 1-->3 start points Number of attempts: 2-->9 start points Number of attempts: 3-->27 start points Use unimodal interval: This option allows you to use a special information about the interval of unimodality. Cache size: This option allows you to choose the size of internal black boxes caches. Decrease this value only if you do not have enough memory. Increase this value if you have enough memory in order to reduce the computation time. Error and Warning messages This panel displays when the column Constant parameters is empty. All parameters are then considered as variables by the solver and thus will be changed when the set of constraints is solved.

53 Page 53 Unsensitive measures to unknown parameters panel (click the graphic opposite to enlarge it). This panel displays when a measure is not sensitive to a variation of any unknown parameter. It is usually the case when: The measure is really independent from the unknown variables. (You should replace this measure by a constant if you are sure that this is the case, it will speed up the computation.) The black box precision is too low: The measures are not sensitive to a small variation of the unknown variables. You can increase the black box precision option.

54 Page 54 Using Measured Parameters in a Constraint Satisfaction Computation This task explains how to use parameters valuated by a formula in the Constraints Satisfaction Editor. In the scenario detailed below, the user wants to calculate the length of a pad, which is actually part of a bottle cap in order to reach a given volume. Knowledgeware parameters that are valuated by a formula are now taken into account by the constraints satisfaction function. For a formula to be taken into account, proceed as follows: Access the Formula Editor and write a knowledge formula: Volume.1 = smartvolume( Pad.1) for example. Open the Constraint Satisfaction Editor and enter the following constraint body: Volume.1 == 1L; Pad.1\Height > 0mm; Pad.1\Height < 10000mm It is now possible to find more than one solution to a single problem (See Step 9). 1. Open the KwoCap.CATPart File. The following image displays. 2. Create a parameter that will compute the cap volume. To do so, proceed as follows:

55 Page 55 Click the Formula icon ( ). In the scrolling list, select the Volume parameter and click the New Parameter of type button. In the Edit name or value of the current parameter field, edit the name of the volume parameter: Cap_Volume in this scenario. Click the Add Formula button and enter the following formula: Cap_Volume = Volume_Pad1 + Volume_Pad2 + Volume_Pad3 + Volume_Pad4 + Volume_Pad5 + Volume_Pad6 + Volume_Pad7 + Volume_Pad8 + Volume_Pad9 Click OK twice to validate. 3. From the Start->Knowledgeware menu, access the Product Engineering Optimizer workbench. 4. Click the Constraint Satisfaction icon ( ). Click OK in the opening window. The ConstraintSatisfaction.1 window opens. 5. Enter the following body into the editor: Cap_Volume == 0.2L; PartBody\Pad.1\FirstLimit\Length > 2mm; PartBody\Pad.1\FirstLimit\Length < 100mm; PartBody\Pad.2\FirstLimit\Length > 2mm; PartBody\Pad.2\FirstLimit\Length < 50mm 6. Click the Parse arrow ( ). To know more about the interface, see Getting Familiar with the Constraints Satisfaction Editor. 7. Click the Results tab. In the Number of solutions to be found field, enter Click the Solve button. Click OK in the Solving was successful dialog box. 9. In the lower part of the editor, select line 3 and click the Apply solution button. The solution is applied to the parameters. 10. Click Apply: The model is updated. Click OK to exit the Constraint Satisfaction editor. Click No when asked if you want to save the log. Click OK when done.

56 Page 56

57 Using the Design of Experiments Tool Page 57 The following tasks are described in this guide: Using the Design of Experiments tool: Select the Design of Experiments icon to perform virtual experiments. Introducing the Design of Experiments Tool Getting Familiar with the Design of Experiments Window Using the Design of Experiments Tool

58 Introducing the Design of Experiments Tool Page 58 The Design of Experiments tool is designed to enable you to perform virtual experiments taking into account as many parameters as needed. It enables you to: Find interactions between parameters. Make predictions. Identify which parameter is the most influential. To analyze a given system (see below), you select the input parameters, define ranges of study, indicate the nodes of the network used to perform the analysis, and finally the output parameters (output evaluation.)

59 Page 59 The system performs an analysis based on the computations done for each node of the network and produces graphics showing the effects of each factor on each output and the effects of each couple of parameters on each output. The results of the analysis are stored in an output file (Excel file under windows and text file for all operating systems). Note that the generated graphics can be stored in Excel files. Describing the Design of Experiments Window to know how to use the DOE window and Using the Design of Experiments Tool to get an example.

60 Page 60 Getting Familiar with the Design of Experiments Window The Design of Experiments window enables you to perform virtual experiments taking into account as many parameters as needed. It can be accessed by clicking the Design of Experiments icon ( Engineering Optimizer workbench. ) in the Product The Design of Experiments Window is made up of three different tabs: Settings tab Results tab Prediction tab Settings tab This tab enables you to define the analysis to be performed. In this tab, you: select the input parameters select the ranges (field of study) to be applied as well as the number of levels (number of nodes) select the output parameters run the Design of Experiments. Select input parameters This field enables you to select the input parameters that will be taken into account when performing the analysis. Click the button to access the Choose the Input Parameters for the DOE window, click the parameters, use the button to select them, and click OK. To remove parameters, click the Edit list... button and use the arrow button to remove them from the selected parameters and click OK. Select an input parameter and click the button (or double-click the parameter) to specify the superior and the inferior ranges of the input parameter and to indicate the

61 Page 61 number of levels. The multiplication of these levels matches the number of updates performed (computed automatically). Select output parameters This field enables you to select the output parameters (also called output factors) under consideration. Click the button to access the Choose the OUTPUT Parameters window, select one or more parameters by using the button and click OK. To remove parameters, click the Edit list... button and use the arrow button to remove them from the selected parameters and click OK.

62 Page 62 Note that the Filter Type scrolling list enables you to filter the type of output parameters. Save curves in the output file: enables the user to display curves in a.xls file. (for Windows only) The button enables you to launch the analysis. If you did not run the DOE before, you will be asked for an output file, else a contextual menu will display depending on the action you performed before (full run, or interrupted run.) Results tab This tab is only available after the analysis is performed and is disabled if the information contained in the Settings tab are not up-to-date. The matrix displayed in the Table of experiments section is the result of computations performed for each node: the number of evaluations presented matches the number of updates displayed in the Settings tab. The button enables you to select a value in the matrix and to apply it to parameters.

63 Page 63 Generated graphics The number of graphics generated depends on the number of selected input and output parameters. A graphic is generated: for each input and each output for the effects for each couple of input factors and for each output. Please find below two curves samples (the data used to produce these curves are provided in the Using the Design of Experiments Tool topic.) Plot of one factor effect on one output

64 Page 64 This graphic shows the mean effect of the 'OxLength' parameter on the OxyPerimeter. (Click the graphic opposite to enlarge it.) The three curves are parallel which means that there is no interaction between the OxLength and OyLength parameters on the output parameter (OxyParameter) (i.e. the effect of OxLength on OxPerimeter does not depend on the OyLength value.) The yellow curve represents the mean. The red curve represents the mean plus 3 standard deviations. The green curve represents the mean minus 3 standard deviations. Statistically, for a given value of Ox, 99% of the values of the OXyPerimenter are located in the range between the green and the red dots. Plot of interaction between 2 input factors on one output This graphic shows the mean effect of the "OxLength" parameter on the OxyArea. (Click the graphic opposite to enlarge it.) OxyArea increases when OxLength increases and the relation between these two parameters seems to be linear.

65 Page 65 Prediction tab This tab presents a mathematical model of the system and is used to get a theoretical value of the output parameter considering a specific configuration of the input parameters.

66 Page 66 If the result is not satisfying, refine your analysis by adding levels in the Settings tab. The user can choose one of the 2 alternatives below to obtain predictions: Computing the theoretical value of a node: Click the Results tab and select a row. Click the Apply these values button. Click the Prediction tab and click the Run Prediction button: the result displays in the lower pane of the window. Computing the theoretical value of a node of the field of study (outside the network): Click the parameter to select it.

67 Change its value in the Selected parameter's value field (hit the Enter key or click anywhere to validate the input). Repeat this operation for each parameter you want to use. Click the Run Prediction button: the result displays in the lower pane of the window. Page 67

68 Using the Design of Experiments Tool Page 68 This task explains how to use the DOE tool. In the scenario detailed below, the user optimizes a pad. To know more about the Design of Experiments Tool, see Introducing and Describing the Design of Experiments Window. 1. Open the KwoDesignOfExperiments.CATPart file and access the Product Engineering Optimizer workbench (Start->Knowledgeware). 2. Click the Design of Experiments icon ( ). The Design of Experiments window opens. 3. Click the button to select the input parameters. 4. In the opening dialog box, select the OzLength, OxLength, OyLength parameters, move them to the Selected parameters for the DOE column by using the button and click OK. 5. In the Select input parameters field, select the OzLength parameter and click the button. Enter the following data in the dialog box and click OK. Inferior Range 20 Superior Range 120 Number of Levels 6 6. Apply the following values to the OxLength parameter: Inferior Range Superior Range 30mm 150mm Number of Levels Apply the following values to the OyLength parameter: Inferior Range 10mm

69 Page 69 Superior Range 100mm 4 Number of Levels 8. In the Select output parameters field, click the button to select the output parameters. 9. In the opening dialog box, select the OxyArea, and the PadVolume parameters by using the button and click OK. 10. Check the Save curves in the output file and click the button to launch the analysis. 11. Enter the name of the output file and click Save. The analysis starts and a dialog box identical to the one below is displayed. 12. Once the analysis is finished, select the Results tab. The number of results appearing in the Table of Experiments matches the number of updates (see Settings tab). You can apply the values of the table to the parameters. To do so, select one line in the Table of Experiments and click the Apply these values button. 13. In the Select one curve scrolling list, select Plot mean effect of 'Oy Length' on the output : PadVolume. The following graphic displays (click the graphic below to enlarge it):

70 Page 70

71 Tips and Tricks Page 71 Only one parameter can be optimized at a time f(x). Continuity in parameter value is required. Multiple discrete value parameters cannot be used as free parameters. Using a parameter which is constrained by a relation as a free parameter may lead to unpredictable result. For the gradient based algorithm (local search) put at least three times the number of free parameters as number of updates without improvement. If you want to modify free parameters driven by an Equivalent Dimension feature, select the Value parameter located below the Equivalent Dimension feature. Note that you will not be able to directly apply ranges and steps to the parameters making up the Equivalent Dimension: Only the Value parameter located below the Equivalent Dimension feature can be applied ranges and steps. Therefore, if you apply ranges and/or steps to the Value parameter, the parameters making up the equivalent dimension will have the same ranges or/and steps as the Value parameter.

72 Advanced Tasks Page 72 Interpreting Results Methodology Tips and Tricks

73 Interpreting Results Page 73 Result File If you want to study the computation results after an optimization has been carried out, check the Save Optimization Data box. If need be, modify the default path. The file generated contains (for each iteration), the value of the objective function as well as the free parameter values (and the constraints values if any.) The optimization curves are generated from the data providing from this result file. Optimization Curves Click Show Curves... to display the optimization curves. The abscissa represents the iteration numbers while the ordinate represents the objective function value, or the free parameter values. You must click the relevant curve key displayed on the right of the curves to obtain the proper values on the ordinate axis. The optimization curves are generated from the result file. To display the optimization curves, you must have checked the Save Optimization Data box. As far as the evolution of the "Optimized Parameter" is concerned, 2 curves are drawn: Its actual value, and the "Optimization log" which reproduces the evolution of its best value. The curves below are the result of the optimization carried out in the Getting Started section of this Guide. Gradient Algorithm

74 Page 74 Simulated Annealing Algorithm

75 Page 75 Warning and Errors The optimization process may issue several warnings. One of the most common is the "Unable to restore best solution" warning. The openness of PEO enables the users to insert any kind of objective functions. Some of them might be either non deterministic or dependent on previous actions (case of a model with rules impacting the result of the objective function.) The consequence for optimization is the disability to restore a previously found configuration. A warning is issued specifying the difference between the restored solution and the previously best configuration. A small difference is usually due to roundings errors: In this case the optimization is valid. You should accept the results. A large difference might indicate that there is a real problem. Causes of errors Problems Solutions

76 Page 76 Models with rules that impact the objective function definition during the optimization process. Check the model. f(x)=a x2+1 if (x>1) a=1 else a = -1 During the optimization process if x takes a value between 1 and 2, the definition of the problem changes. Models with sketches that can take unreasonable configurations from which they cannot escape. Always use constraint sketches and use ranges in the optimization. Analysis models with adapted types of meshing elements that are not adapted (T4 instead of T10.) Use polynomenial interpolation (T10) instead of linear (T4).

77 Methodology Page 77 For both algorithms, you can refine the result by removing one or several variables from the list of free parameters and restart the computation. Algorithms and Objective Function In general, the shape of the Objective function is unknown. It is therefore better to begin with a Simulated Annealing and to refine the results with a gradient descent. This approach is slow but works for a larger amount of functions. If the properties of the curve are known (continuous, differentiable at all point and with a single optimum), then the gradient can be used straight on. It is usually faster than the Simulated Annealing algorithm. If you have to restart the optimization because you are not satisfied with the first result, reduce the ranges on the free parameters and/or reduce the steps. Algorithms Use Approximating a solution with the Simulated Annealing can be quickened by reducing the consecutive bad evaluation stopping criterion to 15 or 20. However, this will increase the risk of a premature convergence to local optimization especially if the optimized problem contains several free parameters. For both algorithms, the final results provided can be refined by removing one or several variables and by restarting the optimization. Ranges and Steps It is ALWAYS better to apply ranges to the free parameters (especially for the simulated Annealing). This prevents the geometry from taking unreasonable configurations if the free parameters take too high a value. Too big a step makes it useless, but too small a step can prevent fast convergence to a solution. If you are not sure, do not attribute any step but assign ranges. Steps are only indicative starting values used by the algorithms: In order to converge toward optimal values both Gradient and SA algorithms need to reduce the steps between consecutive trials. As long as the search makes progress in the same direction (local optimum not detected), the step increases in order to speed up the localization of the local (and global) optimum. As soon as an optimum is located, Gradient and SA do not behave the same way: The gradient algorithm reduces its step in order to reach convergence inside this optimum. The SA makes the step evolve depending on the history of the run according to a complex law. It must be noticed that in no case, the step remains constant. Constraints Try to apply constraints with values of the same order of magnitude as the objective function. This will prevent a constraint from being over-considered by the optimization process.

78 Tips and Tricks Page 78 If you encounter a problem with many variables (more than 4) as free parameters: do not forget to apply ranges, and begin with the gradient algorithm before trying the simulated annealing algorithm. Gradient The gradient behaves better with squares or quadratic functions (especially relevant for "Target Values"). Hence the following problem: Given: volume=x*y*z. Find, x, y and z such that volume = Chaining algorithms is better solved if the following formula is given to the optimizer: objective = (volume)2 In most cases the properties of the functions used inside the optimization problem are unknown. In this case, it is recommended to use the global search algorithm (Simulated Annealing). However, since this algorithm can take a long time to reach convergence (especially when there are many free parameters), it could be helpful to use a local search (gradient) for a few iterations before switching to the global search (Simulated Annealing). Eventually, when the global search has converged and that results must be refined, reduce the ranges around the found solution and restart a slow Local Search. Several constraints Some optimization problems can contain a large number of constraints with respect to the number of free parameters. In this case the optimization problem can be over constrained i.e. there is no feasible region (set of free parameter values for which all constraints are satisfied). The Global Search (Simulated Annealing) helps to reduce the constraints values even in this later case. On the other hand it does not guarantee any access to the feasible region even if it exists. The evolution of the distances to satisfaction (that can be displayed with the graphs) is useful to identify constraints that are difficult to satisfy. It is sometime better to deactivate all other constraints in order to identify a potential zone of satisfaction for these constraints only. Recommendations Always use well-constrained sketches when they are involved in an optimization. Under constrained sketches can lead to wrong solutions or collapsed geometries (see KwoCirclesSk.CATPart). It is also recommended to limit the ranges of the free parameters to reasonable values.

79 Page 79 Optimal CATIA PLM Usability for Product Engineering Optimizer When working with ENOVIA V5, the safe save mode ensures that you only create data in CATIA that can be correctly saved in ENOVIA. ENOVIA V5 offers two different storage modes: Workpackage (Document kept - Publications Exposed) and Explode (Document not kept). Product Engineering Optimizer (PEO) has been configured to work in the Workpackage mode. Product Engineering Optimizer commands in Enovia V5 Please find below the list of the Product Engineering Optimizer commands along with their accessibility status in Enovia V5. Note that the restrictions listed below apply only when working at the Product level. They do not apply when working in a Part context. Commands Accessibility in Enovia V5 (Explode Mode) Comments Optimize Not available None Design of Experiments Not available None Constraint Satisfaction Not available None

80 Workbench Description Page 80 This section contains the description of the icons and menus specific to the Product Engineering Optimizer workbench. The Product Engineering Optimizer workbench is shown below. Click the sensitive areas (toolbars) to access the related documentation. Product Engineering Optimizer Toolbar Constraint Satisfaction Toolbar

81 Product Engineering Optimizer Toolbar Page 81 The Product Engineering Optimizer toolbar contains the following tools: See Searching for a Maximum Value, Searching for a Minimum Value. See Using the Design of Experiments tool.

82 Constraint Satisfaction Toolbar Page 82 The Constraint Satisfaction Toolbar contains the following tool: See Using the Constraint Satisfaction Function.

83 Customizing for Knowledgeware Page 83 This section describes the ways in which you can customize the Knowledgeware workbenches. See also the Parameters and Measure customizing section. Knowledge Tab Language Tab Report Generation Tab

84 Knowledge Tab Page 84 This task explains how to specify the options when working with Knowledgeware relations, parameters and design tables. Refer to Using Knowledgeware Capabilities for more information. 1. Select the Tools->Options... command. The Options dialog box displays. 2. Select General->Parameters and Measure and click the Knowledge tab. This is what you can see onscreen: Parameter Tree View Field

85 Page 85 Check Tools->Options...->General->Parameters and Measure->Knowledge- >Parameter Tree View->With value to display the parameter values in the specification tree. Check the Tools->Options...->General->Parameters and Measure->Knowledge- >Parameter Tree View->With formula to display the formulas constraining the parameter in the specification tree. Parameter names Field Check the Tools->Options...->General->Parameters and Measure->Knowledge- >Parameter Names->Surrounded by the symbol' option if you work with non-latin characters. If this option is unchecked, parameter names should have to be renamed in Latin characters when used in formulas. Relations update in part context Before V5R12, Knowledge relations (formulas, rules, checks, design tables, and sets of equations) used to execute as soon as one of their inputs was modified. The user can now choose, when creating the relation, if it will be synchronous (i.e. the evaluation will be launched as soon as one of its parameters is modified) or asynchronous (i.e. the evaluation will be launched when the Part is updated). Each relation can therefore be synchronous or asynchronous. The 2 following options enable the user to create synchronous or asynchronous relations. Creation of synchronous relations Creation of relations evaluated during the global update Enables the user to create synchronous relations, that is to say relations that will be immediately updated if one of their parameters/inputs is modified. Relations based on parameters are the only one that can be synchronous. Enables the user to associate the evaluation of asynchronous relations with the global update. The relations can be asynchronous for 2 reasons: The user wants the relations to be asynchronous The relation contains measures. Relations based on parameters: These relations can be synchronous or asynchronous. Relations based on geometry: These relations can only be asynchronous. Relations based on parameters and on geometry: For the part of the relations containing parameters, the user decides if he wants the update to be synchronous or not. For the other part of the relations, the update occurs when the global update is launched. Note that the user can also decide if already existing relations are synchronous or asynchronous. To know more, see Controlling Relations Update in the Infrastructure User's Guide. Design Tables Field

86 Page 86 Automatic Synchronization at Load Interactive Synchronization at Load Manual Synchronization Default Mode: Copy Data Into Model Default Mode: Do Not Copy Data Into Model When loading a model containing user design tables, if the design table files have been modified and the external file data is contained in the model, the design table will be synchronized automatically if this radio button is checked. When loading a model containing user design tables whose external source file was deleted, this option enables the user to select a new source file or to save the data contained in the design tables in a new file. When loading a model containing user design tables, if the design table files have been modified and the external file data is contained in the model, the design table will be synchronized if this radio button is checked. To synchronize both files, right-click the design table in the specification tree and select the DesignTable object->synchronize command or the Edit->Links command. If checked, the data contained in the external source file will be copied into the model. If checked, the data contained in the external source file will not be copied into the model. 3. Click OK when done.

87 Language Tab Page 87 This task explains how to specify the options you may need to check when working with Knowledge browsers. 1. Select the Tools->Options... command. The Options dialog box is displayed. 2. Select General->Parameters and Measure and click the Language tab. This is what you can see onscreen: Language Field This field is to be used when using measures in relations or user functions. Measures are specific functions to be used in formulas and rules. The Knowledge Advisor User's Guide provides you with tasks explaining how to use measures. For how to create and use user functions, see the CATIA Application Architecture documentation. Check Tools->Options...->General->Parameters and Measure->Knowledge->Load extended language libraries and select the packages you want to load under Packages to load if you want to load a limited number of packages. This option is particularly useful for the administrator to limit the number of packages used by the user. It is also very useful to improve performances since only the required libraries are loaded.

88 Page 88 When you open a document and some relations are broken, you might need to load all libraries to solve the error, which may take quite a long time. It is strongly recommended to identify the packages you will need and to select them. Check Tools->Options...->General->Parameters and Measure->Knowledge ->Load extended language librariesand select All packages to load all the packages displayed under Packages to load. Reference Directory For Types field If you want to reuse the generated type in another CATIA session in the PKT workbench, proceed as follows: save the CATGScript file in the Directory indicated in the Reference Directory for Types field (see Tools->Options->Parameters and Measure-> Language tab) check the Load extended language libraries check box and select the package containing the type you created. 3. Click OK when done.

89 Report Generation Tab Page 89 This task explains how to customize the reports generated by the Global Check Analysis tool in the Knowledge Advisor and Knowledge Expert workbenches. You can choose to display a xml or a html report. Displaying a HTML report To generate a html report when performing the check analysis, go to Tools->Options->General- >Parameters and Measure and select the Report customization tab. Select Html in the Select Report Visualization area. In this case, only the Check Advisor, the Check expert and the Passed objects options are available in the Report content area. You can specify the output directory containing the generated HTML report in the Select output directory field. Select Html if you use a Netscape browser. Displaying a XML report To display a XML report when performing the check analysis, go to Tools->Options->General- >Parameters and Measure and select the Report customization tab. Select Xml in the Select Report Visualization area. The following window opens:

90 Page 90 The Report Customization tab is made up of 4 different fields: The Select Input XSL, the Report Content, the Select output directory, and the HTML options fields. Select Input XSL field This field enables the user to select the XSL style sheet that will be applied to the generated XML report. The StyleSheet.xsl file is the default XSL file, but you can use your own template. Report content field Failed Checks All Checks Check advisor If checked, the generated report will contain information about the failed checks only. If checked, the generated report will contain information about all the checks contained in the document. If checked, the generated report will contain information about all the Knowledge Advisor checks contained in the document.

Product Engineering Optimizer

Product Engineering Optimizer Product Engineering Optimizer Overview Conventions What's New? Getting Started Basic Tasks Using the Optimize Function Defining an Optimization Getting Familiar with the Optimization Dialog Box The Problem

More information

Product Engineering Optimizer

Product Engineering Optimizer CATIA V5 Training Foils Product Engineering Optimizer Version 5 Release 19 January 2009 EDU_CAT_EN_PEO_FI_V5R19 1 About this course Objectives of the course Upon completion of this course, you will learn

More information

Knowledge Advisor Overview What's New? Getting Started User Tasks

Knowledge Advisor Overview What's New? Getting Started User Tasks Knowledge Advisor Overview Conventions What's New? Getting Started Using Parameters Using Formulas Using Rules Using Checks User Tasks Working with Parameters Creating a Parameter Introducing Parameters

More information

Advanced Meshing Tools

Advanced Meshing Tools Page 1 Advanced Meshing Tools Preface Using This Guide More Information Conventions What's New? Getting Started Entering the Advanced Meshing Tools Workbench Defining the Surface Mesh Parameters Setting

More information

Knowledge Expert Version 5 Release 13. Knowledge Expert

Knowledge Expert Version 5 Release 13. Knowledge Expert Knowledge Expert Page 1 Preface Using this Guide What's New? Getting Started Basic Tasks About RuleBases Storing a Rule Base in a Catalog Using a Rule Base Stored in a Catalog Importing a Rule Base Activating

More information

Structure Preliminary Layout

Structure Preliminary Layout Page 1 Structure Preliminary Layout Preface Using This Guide Where to Find More Information What's New? Getting Started Setting Up Your Session Defining the Hull Form Setting Up Your Grid Creating Molded

More information

Knowledge Expert Overview What's New? Getting Started Basic Tasks Advanced Tasks Reference

Knowledge Expert Overview What's New? Getting Started Basic Tasks Advanced Tasks Reference Knowledge Expert Overview Conventions What's New? Getting Started Creating an Expert Check Creating an Expert Rule Basic Tasks About RuleBases Storing a Rule Base in a Catalog Using a Rule Base Stored

More information

COPYRIGHT DASSAULT SYSTEMES Version 5 Release 19 January 2009 EDU-CAT-EN-KBE-A-FS-V5R19

COPYRIGHT DASSAULT SYSTEMES Version 5 Release 19 January 2009 EDU-CAT-EN-KBE-A-FS-V5R19 CATIA Training Knowledge Based Engineering: Advanced COPYRIGHT DASSAULT SYSTEMES Version 5 Release 19 January 2009 EDU-CAT-EN-KBE-A-FS-V5R19 Table of Contents Master Exercise: Strap tension optimization...3

More information

Classification of Optimization Problems and the Place of Calculus of Variations in it

Classification of Optimization Problems and the Place of Calculus of Variations in it Lecture 1 Classification of Optimization Problems and the Place of Calculus of Variations in it ME256 Indian Institute of Science G. K. Ananthasuresh Professor, Mechanical Engineering, Indian Institute

More information

Electrical Harness Installation

Electrical Harness Installation Electrical Harness Installation Page 1 Overview Conventions What's New? Getting Started Entering the Workbench Setting Up the Options Creating a Bundle Segment Document Creating Construction Points Defining

More information

Today. Golden section, discussion of error Newton s method. Newton s method, steepest descent, conjugate gradient

Today. Golden section, discussion of error Newton s method. Newton s method, steepest descent, conjugate gradient Optimization Last time Root finding: definition, motivation Algorithms: Bisection, false position, secant, Newton-Raphson Convergence & tradeoffs Example applications of Newton s method Root finding in

More information

Module 1 Lecture Notes 2. Optimization Problem and Model Formulation

Module 1 Lecture Notes 2. Optimization Problem and Model Formulation Optimization Methods: Introduction and Basic concepts 1 Module 1 Lecture Notes 2 Optimization Problem and Model Formulation Introduction In the previous lecture we studied the evolution of optimization

More information

Electrical Wire Routing

Electrical Wire Routing Electrical Wire Routing Page 1 Overview Conventions What's New? Getting Started Accessing the Workbench Creating the Bundle Selecting Systems with External Data Routing Wires from External Data User Tasks

More information

Electrical Harness Flattening

Electrical Harness Flattening Electrical Harness Flattening Overview Conventions What's New? Getting Started Accessing the Electrical Harness Flattening Workbench Defining the Harness Flattening Parameters Extracting Data Flattening

More information

Fastening Review Overview Basic Tasks DMU Fastening Review Interoperability Workbench Description Customizing Index

Fastening Review Overview Basic Tasks DMU Fastening Review Interoperability Workbench Description Customizing Index Fastening Review Overview Conventions Basic Tasks Displaying Joined Parts in a Balloon Running the Fastening Rules Analysis Reporting Creating Structural Reports Creating Flat Reports DMU Fastening Review

More information

Structure Preliminary Layout

Structure Preliminary Layout Structure Preliminary Layout Overview Conventions What's New? Getting Started Setting Up Your Session Defining the Hull Form Setting Up Your Grid Creating Molded Forms Creating a Compartment Creating Boundaries

More information

FEM Surface. Preface Getting Started Basic Tasks Glossary Index TOC. Dassault Systèmes All rights reserved.

FEM Surface. Preface Getting Started Basic Tasks Glossary Index TOC. Dassault Systèmes All rights reserved. TOC FEM Surface Preface Getting Started Basic Tasks Glossary Index Dassault Systèmes 1994-99. All rights reserved. file:////moyenne/users/cma/fmsdoccxr5/fmsenglish/fmsug.doc/src/fmsugtoc.htm [09/26/2000

More information

Excel Forecasting Tools Review

Excel Forecasting Tools Review Excel Forecasting Tools Review Duke MBA Computer Preparation Excel Forecasting Tools Review Focus The focus of this assignment is on four Excel 2003 forecasting tools: The Data Table, the Scenario Manager,

More information

Electrical System Functional Definition

Electrical System Functional Definition Electrical System Functional Definition Preface What's New? Getting Started Basic Tasks Advanced Tasks Workbench Description Customizing Glossary Index Dassault Systèmes 1994-2000. All rights reserved.

More information

Electrical 3D Design & Documentation

Electrical 3D Design & Documentation Electrical 3D Design & Documentation Page 1 Overview Conventions User Tasks Using Electrical 3D Design & Documentation Entering the Electrical Assembly Design Workbench Entering the Electrical Part Design

More information

DMU Space Analysis Version 5 Release 13. DMU Space Analysis

DMU Space Analysis Version 5 Release 13. DMU Space Analysis Page 1 DMU Space Analysis Preface Using This Guide More Information Conventions What's New? Getting Started Setting Up Your Session Measuring Minimum Distances Sectioning Detecting Clashes Measuring Between

More information

Equipment Support Structures

Equipment Support Structures Page 1 Equipment Support Structures Preface Using This Guide Where to Find More Information Conventions What's New? Getting Started Setting Up Your Session Creating a Simple Structural Frame Creating Non-uniform

More information

Casio 9860 DYNA Investigation and Instructions

Casio 9860 DYNA Investigation and Instructions Casio 9860 DYNA Investigation and Instructions Instructions This activity is both a self-guided instruction worksheet and a student investigation of Straight Lines, Parabolas, Cubics, Hyperbolas, and Exponentials.

More information

[1] CURVE FITTING WITH EXCEL

[1] CURVE FITTING WITH EXCEL 1 Lecture 04 February 9, 2010 Tuesday Today is our third Excel lecture. Our two central themes are: (1) curve-fitting, and (2) linear algebra (matrices). We will have a 4 th lecture on Excel to further

More information

CATIA V5 Training Foils

CATIA V5 Training Foils CATIA V5 Training Foils Knowledge Advisor Version 5 Release 19 January 2009 EDU_CAT_EN_KWA_FI_V5R19 1 About this course Objectives of the course Upon completion of this course you will be able to: - Become

More information

Contents 1. Introduction... 8

Contents 1. Introduction... 8 Contents 1. Introduction... 8 1.1 cpet Overview:... 8 1.2 What s New?... 9 1.3 Getting Started... 11 1.3.1 Cost and Software Data Reporting Plans:... 11 1.3.2 Cost and Software Data Reporting: Cost Reports...

More information

Electrical System Functional Definition

Electrical System Functional Definition Electrical System Functional Definition Overview Conventions What's New? Getting Started Creating a New System Creating Equipment Creating Connectors Creating a Signal Connecting Saving Your System User

More information

NC Manufacturing Verification

NC Manufacturing Verification NC Manufacturing Verification Page 1 Preface Using This Guide Where to Find More Information Conventions What's New? User Tasks Accessing NC Manufacturing Verification Comparing the Machined Stock Part

More information

Local Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld )

Local Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld ) Local Search and Optimization Chapter 4 Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld ) 1 2 Outline Local search techniques and optimization Hill-climbing

More information

Equipment Support Structures

Equipment Support Structures Equipment Support Structures Overview Conventions What's New? Getting Started Setting Up Your Session Creating a Simple Structural Frame Creating Non-uniform Columns Creating Plates with Openings Bracing

More information

4. If you are prompted to enable hardware acceleration to improve performance, click

4. If you are prompted to enable hardware acceleration to improve performance, click Exercise 1a: Creating new points ArcGIS 10 Complexity: Beginner Data Requirement: ArcGIS Tutorial Data Setup About creating new points In this exercise, you will use an aerial photograph to create a new

More information

Circuit Board Design Version 5 Release 13. Circuit Board Design

Circuit Board Design Version 5 Release 13. Circuit Board Design Circuit Board Design Page 1 Overview Conventions What's New? Getting Started Accessing the Circuit Board Workbench Creating a Board Pocket and Holes Constraint Area Exporting Data Importing Data User Tasks

More information

solidthinking Inspired Tutorials 2009 solidthinking, Inc. for Mac

solidthinking Inspired Tutorials 2009 solidthinking, Inc. for Mac solidthinking Inspired Tutorials 2009 solidthinking, Inc. for Mac Table of Contents Quick Start Tutorials 3 Tutorial 11: Simple... Bridge 4 Tutorial 22: Desk... 12 Tutorial 33: Bookcase... 35 2 1 Quick

More information

PALSTAT s.r.o. Quality control systems PALSTAT CAQ version FMEA 07/ Table of contents

PALSTAT s.r.o. Quality control systems PALSTAT CAQ version FMEA 07/ Table of contents 1 Table of contents 1 Table of contents... 1 2 Introduction... 3 2.1 Basic control... 3 3 Launching the SW Palstat FMEA... 4 3.1 Launcher SW Palstat and opening the program... 4 3.2 Access rights to the

More information

Local Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld )

Local Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld ) Local Search and Optimization Chapter 4 Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld ) 1 2 Outline Local search techniques and optimization Hill-climbing

More information

Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex

Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex Basic Topics: Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex Review ribbon terminology such as tabs, groups and commands Navigate a worksheet, workbook, and multiple workbooks Prepare

More information

4 INFORMED SEARCH AND EXPLORATION. 4.1 Heuristic Search Strategies

4 INFORMED SEARCH AND EXPLORATION. 4.1 Heuristic Search Strategies 55 4 INFORMED SEARCH AND EXPLORATION We now consider informed search that uses problem-specific knowledge beyond the definition of the problem itself This information helps to find solutions more efficiently

More information

17 - VARIABLES... 1 DOCUMENT AND CODE VARIABLES IN MAXQDA Document Variables Code Variables... 1

17 - VARIABLES... 1 DOCUMENT AND CODE VARIABLES IN MAXQDA Document Variables Code Variables... 1 17 - Variables Contents 17 - VARIABLES... 1 DOCUMENT AND CODE VARIABLES IN MAXQDA... 1 Document Variables... 1 Code Variables... 1 The List of document variables and the List of code variables... 1 Managing

More information

Intermediate Excel 2016

Intermediate Excel 2016 Intermediate Excel 2016 Relative & Absolute Referencing Relative Referencing When you copy a formula to another cell, Excel automatically adjusts the cell reference to refer to different cells relative

More information

zenon manual Batch Control v.7.60

zenon manual Batch Control v.7.60 zenon manual Batch Control v.7.60 2017 Ing. Punzenberger COPA-DATA GmbH All rights reserved. Distribution and/or reproduction of this document or parts thereof in any form are permitted solely with the

More information

Spreadsheet View and Basic Statistics Concepts

Spreadsheet View and Basic Statistics Concepts Spreadsheet View and Basic Statistics Concepts GeoGebra 3.2 Workshop Handout 9 Judith and Markus Hohenwarter www.geogebra.org Table of Contents 1. Introduction to GeoGebra s Spreadsheet View 2 2. Record

More information

NC Manufacturing Verification

NC Manufacturing Verification NC Manufacturing Verification Overview Conventions What's New? User Tasks Accessing NC Manufacturing Verification Comparing the Machined Stock Part and the Design Part Pick Point Analysis in Video Mode

More information

1. Managing Information in Table

1. Managing Information in Table 1. Managing Information in Table Spreadsheets are great for making lists (such as phone lists, client lists). The researchers discovered that not only was list management the number one spreadsheet activity,

More information

Preface. Version 5 Release 5. Mold Tooling Design

Preface. Version 5 Release 5. Mold Tooling Design Version 5 Release 5 Mold Tooling Design Preface Getting Started Basic Tasks Advanced Tasks Customization Workbench Description Glossary Index Preface The CATIA Version 5 Mold Tooling Design application

More information

Outline. Informed Search. Recall: Uninformed Search. An Idea. Heuristics Informed search techniques More on heuristics Iterative improvement

Outline. Informed Search. Recall: Uninformed Search. An Idea. Heuristics Informed search techniques More on heuristics Iterative improvement Outline Informed Search ECE457 Applied Artificial Intelligence Fall 2007 Lecture #3 Heuristics Informed search techniques More on heuristics Iterative improvement Russell & Norvig, chapter 4 Skip Genetic

More information

Introduction to ANSYS DesignXplorer

Introduction to ANSYS DesignXplorer Lecture 5 Goal Driven Optimization 14. 5 Release Introduction to ANSYS DesignXplorer 1 2013 ANSYS, Inc. September 27, 2013 Goal Driven Optimization (GDO) Goal Driven Optimization (GDO) is a multi objective

More information

Introduction to Linear Programming. Algorithmic and Geometric Foundations of Optimization

Introduction to Linear Programming. Algorithmic and Geometric Foundations of Optimization Introduction to Linear Programming Algorithmic and Geometric Foundations of Optimization Optimization and Linear Programming Mathematical programming is a class of methods for solving problems which ask

More information

Generative Part Structural Analysis Fundamentals

Generative Part Structural Analysis Fundamentals CATIA V5 Training Foils Generative Part Structural Analysis Fundamentals Version 5 Release 19 September 2008 EDU_CAT_EN_GPF_FI_V5R19 About this course Objectives of the course Upon completion of this course

More information

DMU Fitting Simulator

DMU Fitting Simulator Page 1 DMU Fitting Simulator Preface Using This Guide More Information Conventions What's New? Getting Started Using Tracks Starting a Session Recording a Track Using Automatic Path Finder Using the Smooth

More information

Local Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld )

Local Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld ) Local Search and Optimization Chapter 4 Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld ) 1 Outline Local search techniques and optimization Hill-climbing

More information

Tolerance Analysis of Deformable Assembly

Tolerance Analysis of Deformable Assembly Tolerance Analysis of Deformable Assembly Overview Conventions What's New? Getting Started Entering the Workbench Creating a New Analysis Importing the Assembly Definition Computing a Tolerance Analysis

More information

Using Periodic Boundary Conditions

Using Periodic Boundary Conditions 1 of 6 2004 11 08 15:20 Use periodic boundary conditions, periodic edge conditions, and periodic point conditions to define a constraint that makes two quantities equal on two different (but usually equally

More information

Chapter 4 Determining Cell Size

Chapter 4 Determining Cell Size Chapter 4 Determining Cell Size Chapter 4 Determining Cell Size The third tutorial is designed to give you a demonstration in using the Cell Size Calculator to obtain the optimal cell size for your circuit

More information

Compartment and Access

Compartment and Access Compartment and Access Preface Using This Guide What's New? Getting Started Entering the Workbench Set Correct Working Units and Grid Saving Documents User Tasks Creating/Modifying Wall Systems Building

More information

MICROSOFT EXCEL Working with Charts

MICROSOFT EXCEL Working with Charts MICROSOFT EXCEL 2010 Working with Charts Introduction to charts WORKING WITH CHARTS Charts basically represent your data graphically. The data here refers to numbers. In Excel, you have various types of

More information

Reflector profile optimisation using Radiance

Reflector profile optimisation using Radiance Reflector profile optimisation using Radiance 1,4 1,2 1, 8 6 4 2 3. 2.5 2. 1.5 1..5 I csf(1) csf(2). 1 2 3 4 5 6 Giulio ANTONUTTO Krzysztof WANDACHOWICZ page 1 The idea Krzysztof WANDACHOWICZ Giulio ANTONUTTO

More information

EXCEL 2003 DISCLAIMER:

EXCEL 2003 DISCLAIMER: EXCEL 2003 DISCLAIMER: This reference guide is meant for experienced Microsoft Excel users. It provides a list of quick tips and shortcuts for familiar features. This guide does NOT replace training or

More information

Graphical Analysis of Data using Microsoft Excel [2016 Version]

Graphical Analysis of Data using Microsoft Excel [2016 Version] Graphical Analysis of Data using Microsoft Excel [2016 Version] Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters.

More information

Using Tables, Sparklines and Conditional Formatting. Module 5. Adobe Captivate Wednesday, May 11, 2016

Using Tables, Sparklines and Conditional Formatting. Module 5. Adobe Captivate Wednesday, May 11, 2016 Slide 1 - Using Tables, Sparklines and Conditional Formatting Using Tables, Sparklines and Conditional Formatting Module 5 Page 1 of 27 Slide 2 - Lesson Objectives Lesson Objectives Explore the find and

More information

Exploring Fractals through Geometry and Algebra. Kelly Deckelman Ben Eggleston Laura Mckenzie Patricia Parker-Davis Deanna Voss

Exploring Fractals through Geometry and Algebra. Kelly Deckelman Ben Eggleston Laura Mckenzie Patricia Parker-Davis Deanna Voss Exploring Fractals through Geometry and Algebra Kelly Deckelman Ben Eggleston Laura Mckenzie Patricia Parker-Davis Deanna Voss Learning Objective and skills practiced Students will: Learn the three criteria

More information

Single Candidate Methods

Single Candidate Methods Single Candidate Methods In Heuristic Optimization Based on: [3] S. Luke, "Essentials of Metaheuristics," [Online]. Available: http://cs.gmu.edu/~sean/book/metaheuristics/essentials.pdf. [Accessed 11 May

More information

3.6.2 Generating admissible heuristics from relaxed problems

3.6.2 Generating admissible heuristics from relaxed problems 3.6.2 Generating admissible heuristics from relaxed problems To come up with heuristic functions one can study relaxed problems from which some restrictions of the original problem have been removed The

More information

Workbench Tutorial Flow Over an Airfoil, Page 1 ANSYS Workbench Tutorial Flow Over an Airfoil

Workbench Tutorial Flow Over an Airfoil, Page 1 ANSYS Workbench Tutorial Flow Over an Airfoil Workbench Tutorial Flow Over an Airfoil, Page 1 ANSYS Workbench Tutorial Flow Over an Airfoil Authors: Scott Richards, Keith Martin, and John M. Cimbala, Penn State University Latest revision: 17 January

More information

DMU Space Engineering Assistant User Guide

DMU Space Engineering Assistant User Guide DMU Space Engineering Assistant User Guide Overview Conventions What's New? Getting Started User Tasks Setting Up Your Session Running an Interference Analysis Workbench Description DMU Space Engineering

More information

Compartment and Access

Compartment and Access Compartment and Access Page 1 Preface Using This Guide What's New? Getting Started Entering the Workbench Set Correct Working Units and Grid Saving Documents User Tasks Creating/Modifying Wall Systems

More information

Excel 2016 Basics for Windows

Excel 2016 Basics for Windows Excel 2016 Basics for Windows Excel 2016 Basics for Windows Training Objective To learn the tools and features to get started using Excel 2016 more efficiently and effectively. What you can expect to learn

More information

Using Open Workbench Version 1.1

Using Open Workbench Version 1.1 Version 1.1 Second Edition Title and Publication Number Title: Edition: Second Edition Printed: May 4, 2005 Copyright Copyright 1998-2005 Niku Corporation and third parties. All rights reserved. Trademarks

More information

Guide to WB Annotations

Guide to WB Annotations Guide to WB Annotations 04 May 2016 Annotations are a powerful new feature added to Workbench v1.2.0 (Released May 2016) for placing text and symbols within wb_view tabs and windows. They enable generation

More information

Electrical Cableway Routing

Electrical Cableway Routing Electrical Cableway Routing Preface Using This Guide What's New? Getting Started Entering the Workbench Placing a Hanger Routing a Loft Through Hangers Placing a Conduit on a Run Saving Documents Updating

More information

Sparse Matrices Reordering using Evolutionary Algorithms: A Seeded Approach

Sparse Matrices Reordering using Evolutionary Algorithms: A Seeded Approach 1 Sparse Matrices Reordering using Evolutionary Algorithms: A Seeded Approach David Greiner, Gustavo Montero, Gabriel Winter Institute of Intelligent Systems and Numerical Applications in Engineering (IUSIANI)

More information

SmartView. User Guide - Analysis. Version 2.0

SmartView. User Guide - Analysis. Version 2.0 SmartView User Guide - Analysis Version 2.0 Table of Contents Page i Table of Contents Table Of Contents I Introduction 1 Dashboard Layouts 2 Dashboard Mode 2 Story Mode 3 Dashboard Controls 4 Dashboards

More information

DMU Engineering Analysis Review

DMU Engineering Analysis Review DMU Engineering Analysis Review Overview Conventions What's New? Getting Started Entering DMU Engineering Analysis Review Workbench Generating an Image Visualizing Extrema Generating a Basic Analysis Report

More information

Prismatic Machining Overview What's New Getting Started User Tasks

Prismatic Machining Overview What's New Getting Started User Tasks Prismatic Machining Overview Conventions What's New Getting Started Enter the Workbench Create a Pocketing Operation Replay the Toolpath Create a Profile Contouring Operation Create a Drilling Operation

More information

Metaheuristic Optimization with Evolver, Genocop and OptQuest

Metaheuristic Optimization with Evolver, Genocop and OptQuest Metaheuristic Optimization with Evolver, Genocop and OptQuest MANUEL LAGUNA Graduate School of Business Administration University of Colorado, Boulder, CO 80309-0419 Manuel.Laguna@Colorado.EDU Last revision:

More information

Intellicus Enterprise Reporting and BI Platform

Intellicus Enterprise Reporting and BI Platform Designing Adhoc Reports Intellicus Enterprise Reporting and BI Platform Intellicus Technologies info@intellicus.com www.intellicus.com Designing Adhoc Reports i Copyright 2012 Intellicus Technologies This

More information

Create Complex Surfaces

Create Complex Surfaces Create Complex Surfaces In this lesson, you will be introduced to the functionalities available in the Generative Surface Design workbench. Lesson content: Case Study: Surface Design Design Intent Stages

More information

Q: Which month has the lowest sale? Answer: Q:There are three consecutive months for which sale grow. What are they? Answer: Q: Which month

Q: Which month has the lowest sale? Answer: Q:There are three consecutive months for which sale grow. What are they? Answer: Q: Which month Lecture 1 Q: Which month has the lowest sale? Q:There are three consecutive months for which sale grow. What are they? Q: Which month experienced the biggest drop in sale? Q: Just above November there

More information

HVAC Diagrams Preface What's New? Getting Started User Tasks

HVAC Diagrams Preface What's New? Getting Started User Tasks HVAC Diagrams Preface Using This Guide What's New? Getting Started Entering the Workbench Setting up Working Units and Grid Placing Components Routing an HVAC Line Placing Components in a Line Repositioning

More information

Finite Element Course ANSYS Mechanical Tutorial Tutorial 3 Cantilever Beam

Finite Element Course ANSYS Mechanical Tutorial Tutorial 3 Cantilever Beam Problem Specification Finite Element Course ANSYS Mechanical Tutorial Tutorial 3 Cantilever Beam Consider the beam in the figure below. It is clamped on the left side and has a point force of 8kN acting

More information

Introduction to Excel 2007

Introduction to Excel 2007 Introduction to Excel 2007 These documents are based on and developed from information published in the LTS Online Help Collection (www.uwec.edu/help) developed by the University of Wisconsin Eau Claire

More information

Lesson 4: Surface Re-limitation and Connection

Lesson 4: Surface Re-limitation and Connection Lesson 4: Surface Re-limitation and Connection In this lesson you will learn how to limit the surfaces and form connection between the surfaces. Lesson contents: Case Study: Surface Re-limitation and Connection

More information

40. Sim Module - Common Tools

40. Sim Module - Common Tools HSC Sim Common Tools 15021-ORC-J 1 (33) 40. Sim Module - Common Tools Table of Contents 40.1. Drawing flowsheets and adding tables to flowsheets... 2 40.1.1. Drawing units... 2 40.1.2. Drawing streams...

More information

LAB 1: INTRODUCTION TO DATA STUDIO AND ONE-DIMENSIONAL MOTION

LAB 1: INTRODUCTION TO DATA STUDIO AND ONE-DIMENSIONAL MOTION Lab 1 - Introduction to Data Studio and One-Dimensional Motion 5 Name Date Partners LAB 1: INTRODUCTION TO DATA STUDIO AND ONE-DIMENSIONAL MOTION Slow and steady wins the race. Aesop s fable: The Hare

More information

INF Biologically inspired computing Lecture 1: Marsland chapter 9.1, Optimization and Search Jim Tørresen

INF Biologically inspired computing Lecture 1: Marsland chapter 9.1, Optimization and Search Jim Tørresen INF3490 - Biologically inspired computing Lecture 1: Marsland chapter 9.1, 9.4-9.6 2017 Optimization and Search Jim Tørresen Optimization and Search 2 Optimization and Search Methods (selection) 1. Exhaustive

More information

DMU Engineering Analysis Review

DMU Engineering Analysis Review Page 1 DMU Engineering Analysis Review Preface Using This Guide Where to Find More Information Conventions What's New? Getting Started Inserting a CATAnalysis Document Using DMU Space Analysis From CATAnalysis

More information

Workbench Tutorial Minor Losses, Page 1 Tutorial Minor Losses using Pointwise and FLUENT

Workbench Tutorial Minor Losses, Page 1 Tutorial Minor Losses using Pointwise and FLUENT Workbench Tutorial Minor Losses, Page 1 Tutorial Minor Losses using Pointwise and FLUENT Introduction This tutorial provides instructions for meshing two internal flows. Pointwise software will be used

More information

v Mesh Editing SMS 11.2 Tutorial Requirements Mesh Module Time minutes Prerequisites None Objectives

v Mesh Editing SMS 11.2 Tutorial Requirements Mesh Module Time minutes Prerequisites None Objectives v. 11.2 SMS 11.2 Tutorial Objectives This tutorial lesson teaches manual mesh generation and editing techniques that can be performed using SMS. It should be noted that manual methods are NOT recommended.

More information

FSEDIT Procedure Windows

FSEDIT Procedure Windows 25 CHAPTER 4 FSEDIT Procedure Windows Overview 26 Viewing and Editing Observations 26 How the Control Level Affects Editing 27 Scrolling 28 Adding Observations 28 Entering and Editing Variable Values 28

More information

INTRODUCTION... 1 UNDERSTANDING CELLS... 2 CELL CONTENT... 4

INTRODUCTION... 1 UNDERSTANDING CELLS... 2 CELL CONTENT... 4 Introduction to Microsoft Excel 2016 INTRODUCTION... 1 The Excel 2016 Environment... 1 Worksheet Views... 2 UNDERSTANDING CELLS... 2 Select a Cell Range... 3 CELL CONTENT... 4 Enter and Edit Data... 4

More information

Chapter 14 Global Search Algorithms

Chapter 14 Global Search Algorithms Chapter 14 Global Search Algorithms An Introduction to Optimization Spring, 2015 Wei-Ta Chu 1 Introduction We discuss various search methods that attempts to search throughout the entire feasible set.

More information

HEC-RAS 3.0 January, 2001 Release Notes

HEC-RAS 3.0 January, 2001 Release Notes HEC-RAS 3.0 January, 2001 Release Notes A new version of HEC-RAS (3.0) has been released with significant new features over the previous version (2.21). Version 3.0 includes unsteady flow routing capabilities,

More information

Geostatistics 2D GMS 7.0 TUTORIALS. 1 Introduction. 1.1 Contents

Geostatistics 2D GMS 7.0 TUTORIALS. 1 Introduction. 1.1 Contents GMS 7.0 TUTORIALS 1 Introduction Two-dimensional geostatistics (interpolation) can be performed in GMS using the 2D Scatter Point module. The module is used to interpolate from sets of 2D scatter points

More information

v TUFLOW-2D Hydrodynamics SMS Tutorials Time minutes Prerequisites Overview Tutorial

v TUFLOW-2D Hydrodynamics SMS Tutorials Time minutes Prerequisites Overview Tutorial v. 12.2 SMS 12.2 Tutorial TUFLOW-2D Hydrodynamics Objectives This tutorial describes the generation of a TUFLOW project using the SMS interface. This project utilizes only the two dimensional flow calculation

More information

Graphical Approach to Solve the Transcendental Equations Salim Akhtar 1 Ms. Manisha Dawra 2

Graphical Approach to Solve the Transcendental Equations Salim Akhtar 1 Ms. Manisha Dawra 2 Graphical Approach to Solve the Transcendental Equations Salim Akhtar 1 Ms. Manisha Dawra 2 1 M.Tech. Scholar 2 Assistant Professor 1,2 Department of Computer Science & Engineering, 1,2 Al-Falah School

More information

Introduction to the workbook and spreadsheet

Introduction to the workbook and spreadsheet Excel Tutorial To make the most of this tutorial I suggest you follow through it while sitting in front of a computer with Microsoft Excel running. This will allow you to try things out as you follow along.

More information

Performing Basic Calculations

Performing Basic Calculations 7.1 LESSON 7 Performing Basic Calculations After completing this lesson, you will be able to: Build formulas. Copy formulas. Edit formulas. Use the SUM function and AutoSum. Use the Insert Function feature.

More information

D-Optimal Designs. Chapter 888. Introduction. D-Optimal Design Overview

D-Optimal Designs. Chapter 888. Introduction. D-Optimal Design Overview Chapter 888 Introduction This procedure generates D-optimal designs for multi-factor experiments with both quantitative and qualitative factors. The factors can have a mixed number of levels. For example,

More information

DMU Space Engineering Assistant User Guide

DMU Space Engineering Assistant User Guide Page 1 DMU Space Engineering Assistant User Guide Overview Conventions What's New? Getting Started User Tasks Setting Up Your Session Running a Interference Workbench Description DMU Space Engineering

More information

Table of Contents Data Validation... 2 Data Validation Dialog Box... 3 INDIRECT function... 3 Cumulative List of Keyboards Throughout Class:...

Table of Contents Data Validation... 2 Data Validation Dialog Box... 3 INDIRECT function... 3 Cumulative List of Keyboards Throughout Class:... Highline Excel 2016 Class 10: Data Validation Table of Contents Data Validation... 2 Data Validation Dialog Box... 3 INDIRECT function... 3 Cumulative List of Keyboards Throughout Class:... 4 Page 1 of

More information

Text version 15-Aug-12. for Q-CHECKER V4, V5 and V6

Text version 15-Aug-12. for Q-CHECKER V4, V5 and V6 Text version 15-Aug-12 Q-MONITOR V4 for Q-CHECKER V4, V5 and V6 USERS GUIDE Orientation Symbols used in the manual For better orientation in the manual the following symbols are used: Warning symbol Tip

More information