Engineering Homework Help. AMPL Modeling Optimization Problems Questionnaire
AMPL (www.ampl.com) is one of the most popular languages for modeling optimization problems. NEOS (http://neos-server.org/neos/) is an optimization server that allows users to submit their problems (in AMPL format and others) to a collection of solvers. A complete reference book on AMPL can be found here: https://ampl.com/resources/the-ampl-book/
Problem 1.
———Download the following three unconstrained problems dqrtic.mod, eigenbls.mod, freuroth.mod, from http://orfe.princeton.edu/~rvdb/ampl/nlmodels/cute/index.html. Submit each of them to the bound constrained solver, L-BFGS-B, on NEOS. Report the following:b.1 Briefly explain the main algorithm of L-BFGS-B.b.2 Generate a table that lists the solution time (an estimate will do) and solution quality of the three problems.
Problem 2.
The Rastrigin Function is a highly nonlinear function with many local minima. A description of the function can be found at http://tracer.lcc.uma.es/problems/rastrigin/rastrigin.html.
——–Use L-BFGS-B (through NEOS) to solve the Rastrigin problem. Generate a table that lists the solution time and solution quality, for n = 10, 20, 50, 100, 1000, 10000. Compare their performance and discuss your observation. If a solver fails to return a solution for a problem instance, report “failed” in the table.