topopt-hw

Problem 12: Interior point method

In this assignment, we will use the classic MBB beam as an example to compare the performance differences of three different optimization methods: OC, MMA, and IP (Interior Point Method).

Results Comparison and Analysis

The volfrac is set to 0.5, penal is set to 3, and four groups are prepared with nelx=60, 120, 180, and 240, nely=nelx/3, and rmin=nelx*0.04.

This image corresponds to the optimization results and objective function variation curves for different methods, with nelx=60, 120, 180, and 240 from top to bottom, and OC, MMA, and IP from left to right.

This image illustrates the variation of the objective function value with the increase in the number of elements.

This image illustrates the variation in runtime as the number of elements increases.

Based on the two plots, we can analyze the performance of the three methods — OC (Optimality Criteria), MMA (Method of Moving Asymptotes), and IP (Interior Point Method) — in terms of compliance and time across different element sizes.

1. Compliance vs. No. of Elements:

In the first plot, which shows the relationship between compliance and the number of elements:

2. Time vs. No. of Elements:

The second plot shows the computational time required by each method:

Summary:

In conclusion, IP is the most computationally efficient method in terms of time, but its compliance performance degrades as problem size increases. OC provides a good balance between compliance and computational efficiency, making it a reliable choice for larger problems. MMA delivers good compliance but is significantly slower for larger problem sizes, making it less suitable for large-scale problems.