Develop your own Matlab/Python code to solve a complete unconstrained nonlinear optimization problem such that your...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Develop your own Matlab/Python code to solve a complete unconstrained nonlinear optimization problem such that your code should be able to switch to first order and Quasi- Newton methods for search direction determination using a) Steepest Descent Method b) Conjugate Gradient Method c) Davidon-Fletcher-Powell (DFP) Method d) Broyden-Fletcher-Goldfarb-Shanno (BFGS) Method Requirements: Please note that: For determination of the optimum step size a of change in design A, use the Golden Section Search Method code that you have developed in Homework 3 You can use central finite differencing to calculate the gradients or get the derivatives analytically. Verify your code with the solved exercises in your textbook. Next, solve the following optimization problem with the 3 methods above, using your own code. min f(x)= a* x +2* (b+j)* x2 - 4* f*x - 2*h*xx starting with initial design at (1,1). Where you will use your university student id number to determine a,b,c,d,e,f,g,h,j. Your number is [abcdefghj]. Compare the accuracy of the optimum results and the convergence rate (in terms of number of function evalutaions and iterations) of all 4 methods. (Use a series type plot to compare convergence rates). Show all the iteration values of the design variables. Please submit a) Soft copy of your Matlab/ Python program (no bugs) Your code must run without errors. b) A technical paper of your work (clear, fluent, complete, understandable, must have formulations, flowchart and a good discussion). Please use AIAA class template for your report. c) Submit your homework to Ninova. No emails will be accepted. There will be no extensions. Develop your own Matlab/Python code to solve a complete unconstrained nonlinear optimization problem such that your code should be able to switch to first order and Quasi- Newton methods for search direction determination using a) Steepest Descent Method b) Conjugate Gradient Method c) Davidon-Fletcher-Powell (DFP) Method d) Broyden-Fletcher-Goldfarb-Shanno (BFGS) Method Requirements: Please note that: For determination of the optimum step size a of change in design A, use the Golden Section Search Method code that you have developed in Homework 3 You can use central finite differencing to calculate the gradients or get the derivatives analytically. Verify your code with the solved exercises in your textbook. Next, solve the following optimization problem with the 3 methods above, using your own code. min f(x)= a* x +2* (b+j)* x2 - 4* f*x - 2*h*xx starting with initial design at (1,1). Where you will use your university student id number to determine a,b,c,d,e,f,g,h,j. Your number is [abcdefghj]. Compare the accuracy of the optimum results and the convergence rate (in terms of number of function evalutaions and iterations) of all 4 methods. (Use a series type plot to compare convergence rates). Show all the iteration values of the design variables. Please submit a) Soft copy of your Matlab/ Python program (no bugs) Your code must run without errors. b) A technical paper of your work (clear, fluent, complete, understandable, must have formulations, flowchart and a good discussion). Please use AIAA class template for your report. c) Submit your homework to Ninova. No emails will be accepted. There will be no extensions.
Expert Answer:
Related Book For
Understanding Business Ethics
ISBN: 9781506303239
3rd Edition
Authors: Peter A. Stanwick, Sarah D. Stanwick
Posted Date:
Students also viewed these programming questions
-
Calculate the electric field at one corner of a square 3.5 m on a side if the other three corners are occupied by 0.969 C charges 5a The magnitude of the filed is: (Please answer in Sl unit and...
-
Tom Jones, the mechanic at Golden Muffler Shop, is able to install new mufflers at an average rate of 4 per hour (or about 1 every 15 minute), according to a negative exponential distribution....
-
The following transactions apply to Pecan Co. for 2018, its first year of operations: 1. Received $100,000 cash in exchange for issuance of common stock. 2. Secured a $300,000 five-year installment...
-
A student measured the length of 8 randomly selected bean pods and the total mass of the seeds inside them. The table shows her results. a. Draw a scatter graph of these results. b. Describe the...
-
To the left of z = 0.11 Find the indicated area under the standard normal curve. If convenient, use technology to find the area.
-
Rolodex, Inc., is in the process of determining its capital budget for the next fiscal year. The firms current capital structure, which it considers to be optimal, is contained in the following...
-
You are presented with the following trial balance of Golden City Bhd as at 31 December 2020: Debit RM'000 Credit RM'000 Intangible assets 50 Plant at cost 100 Plant, accumulated depreciation, at 1...
-
Balance sheets for P Company and S Company on August 1, 2019, are as follows: Required: Prepare a workpaper for a consolidated balance sheet for P Company and its subsidiary on August 1, 2019, taking...
-
Complete scholarly research using empirical case studies to describe top-down and bottom-up approaches to communication within law enforcement organizations. Please include three to five resources...
-
Evaluate each expression in Problems 3-32. \({ }_{8} P_{3}\)
-
Evaluate each expression in Problems 3-32. \({ }_{5} P_{5}\)
-
What is the number of distinguishable arrangements in the letters in the word KARL?
-
Fig. D1.3 shows a schematic diagram of a seismograph. \(x_{i}\) and \(x_{o}\) represent displacements of case and mass \(m\) respectively with respect to inertial space. If \(y\) is displacement of...
-
In Problems 47-56, decide whether you would use a permutation, a combination, or neither. Next, write the solution using permutation notation or combination notation, if possible, and, finally,...
-
1. A offered to sell his house and lot for P10M to B, who was interested in buying the same. In his letter to B, A stated that he was giving Ba period of one month within which to raise the amount,...
-
Show that the peak of the black body spectrum as a function of ? is given by eq. (22.14) kg T Wmax = 2.82
-
Do you believe that CPAs would be the best group to perform ethics audits? Why or why not?
-
What role should businesses take in climate change? What should governments role be in climate change?
-
Mattel has a long-standing relationship with Chinese manufacturers. For decades, Mattel has depended on Chinese suppliers to manufacturer its licensed products. In fact, 65% of all of Mattels...
-
In Fig. 1130, there is no explicit invariant that states that a Transaction cannot be linked to movements that are linked to the same account, because the structure of the model already demands is....
-
Apply the Account/Transaction pattern to the parallel financial transactions of the example shown in Figs. 1131 to 1135. As the bills may be paid forward, it may be necessary to use memo entries....
-
Look at Fig. 1119 and create a new discount strategy that gives a percentage of discount for sales with more than a certain number of products. Order | < > < > +nr: Natural = < > +date: Date...
Study smarter with the SolutionInn App