Problem is in attached file, problem no.18.7. You will have to implement a simple solver in python language for solving the convex optimization problem. I have attached example files of the python code for what the solver should look like.
[login to view URL]~boyd/cvxbook/cvxbook_additional_exercises/grav_feed_network_data.m
a part of the problem requires that you use a matlab file, that file can be found in the above link
You are to write a report for the problem . You need to
state the problem,
formulate a mathematical model of the problem,
prove the model to be a convex optimization problem,
formulate the Lagrange dual problem,
implement a method for solving the problem,
and finally, solve an instance of the problem.