

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for a university-level homework assignment in which students are required to write a computer program to minimize a multivariate function using newton's method and the gerschgorin theorem. The assignment includes details on how to use the gerschgorin theorem to determine a parameter for the smallest eigenvalue, and the use of cvsrch for backtracking line search. The document also emphasizes the importance of proper documentation for the function newtonmin.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


AMSC 607 / CMSC 764 Homework 1, Fall 2006 Due Thursday September 28, 2006, 2pm
Assignment: Solve Problem 10.16, p.340 (the 106th page of the pdf file). (In my hard-copy of the book, it is Problem 16, p.327.) It begins, “Write a computer program for minimizing a multivariate function....”
Changes:
Notes:
In-line documentation should identify the major sections of the code and provide some detail on the method used. It is important in specifying the algorithm, identifying bugs, and providing information to someone who might need to modify the software in order to solve a slightly different problem. Note that the documentation should be an integral part of the code; in other words, it is not enough to include it in a separate document, because a potential user might not have access to that document.
Maximum points:
Submission: by hard-copy, given to me after class or delivered to my office. (I will ask for an electronic copy of your programs if I need them.)
Gerschgorin Circle Theorem: All of the eigenvalues of the n × n matrix A lie in the union of the n disks in the complex plane defined by
{z : |aii − z| ≤
∑^ n
j = 1 j 6 = i
|aij |}
for i = 1,... , n. Therefore, if our matrix is real symmetric and none of these disks touches the negative real axis, then the matrix is positive definite.