Professional Documents
Culture Documents
Problem 1.1:
Suppose you want to optimize the design of a small bridge of length L=5m shown in Figure 1.2 by minimizing the amount of material employed. The worst case scenario is de- ned by a centered point load of P=10000N. The only variables you may dene are h, b and the thickness w. However b should be larger than 1 m to allow people walk on but smaller than 2 m. The maximum allowed deection in mm for the bridge should be:
Where = 4 mm is a manufacturing tolerance. Finally, to avoid local effects w > 25 mm. The material strength is 30 MPa and its Youngs Modulus 7000 MPa. a) Write the optimization problem, expressing all the constraints in the standard form. Consider which design variables allow a simpler the formulation of the problem. b) Solve the problem using MATLAB Optimization Toolbox. Comment the obtained solution c) Consider the same problem but assume you want to minimize the cost which is given by the expression:
Solve problem 1.1 a) and b): To solve the problem of minimizing 3 files were created. First the function where the objective is written in terms of the variables b, h, w, which are used for minimize the section, the second with the constraints of the problem (manufacturing limitation deflections, stress limitation and minimum thickness) and the in the initial estimate of the original variables. It has taken b = 1000mm h = 200mm w = 30mm as initial solution.
When the three files are defined the solution are solved with the Matlab, and the values obtained are:
b = 1000 mm h = 618 mm w = 25 mm
ODM Problem 1.1 Solve problem 1.1 c): To solve the cost optimization case are defined the nect objective function:
b = 1000 mm h =123.6 mm w = 50 mm
We can see that Matlab have a powerful and accurate tool to make an optimization tasks, in these case are employed to optimize bridge section, but has capabilities to make a lot of different cases evolving objective functions with a reasonable computational costs.
c=[x(1)-2000; 1000-x(1); P*L^3/(48*E*I)-L/10000; x(3)+4-x(2)/2; 25-x(3); (Mm*x(2)/2)/I-30]; % ratio x(1) i x(2) %x(1)-x(2)/2*(1+sqrt(5))=0 ceq=[x(1)-x(2)/2*(1+sqrt(5))];