Assignment 4
Assignment 4
Assignment 4, Part A
Please submit individually and include any code created for the assignment.
Topics: Gradient-based Optimization
Part (a)
Comparison of Optimization Algorithms
Consider the following three optimization problems:
Your tasks: Numerically find the minimum (=optimal) feasible design vector x for each of the
above three problems using a gradient-based search technique of your choice (e.g., steepest de-
scent, SQP,...). For each run record the starting point you used, the iteration history (objective
Figure 1: Golinski’s speed reducer with 7 design variables
value on y-axis and iteration number on x-axis), the final point at which the algorithm terminated
and whether or not the final solution is feasible. Do 10 runs for each problem.
Discuss the results and insights you get from numerically solving these three nonlinear optimiza-
tion problems.
Part (b)
(b-1) Scaling
Use a gradient-based algorithm as in Assignment 3 for the question below (pick one algorithm).
The current optimal solution x∗ refers to the “optimal” solution in your project found using this
algorithm in Assignment 3.
(b-1.1) Compute the n diagonal entries of the Hessian at your current optimal solution, H(x∗ ). Use
finite differencing to evaluate these entries. (Note: if you have a large number of design variables,
you may do these steps for any 10 design variables.)
(b-1.2) If any of the entries computed in (b-1.1) are greater than 102 or less than 10− 2, then the cor-
responding design variable should be scaled. Note that H(i, i) ∼ 1/xi2 . Thus, if H(i, i) ∼ 10−4 , then
the appropriate scaling of the design variable xi is 10−2 xi . Compute the scaling required for each
design variable to make H(i, i) ∼ O(1). Consider only scalings of the form 10−2 , 10−1 , 101 , 102 ,
etc, (i.e., worry about magnitude only).
(b-1.3) Redefine your design variable using the scalings computed in (b-1.2) and re-run the op-
timizer, starting from the previous “optimal” solution x∗ . do you see any change in the optimal
solution?
Please note: If you do not have any continuous design variables in your problem, please instead
analyze the scaling of your constraints. Study whether scaling certain constraints in your problem
affects convergence or convergence rates.
In Assignment 3 you used a gradient search technique to optimize the system for your design
project. In this assignment you are to apply a heuristic technique (SA, GA, PSO, or Tabu search)
to your design project.
(b-2.2) Attempt to optimize the system and compare the answers with the answers you received
with the gradient search technique.
(b-2.3) Tune the parameters of the algorithm and observe the differences in behavior. What ap-
pears to be the best algorithm tuning parameter settings for your project?
(b-2.4) How confident are you that you have found the true global optimum?