Topology optimization algorithm for compliance minimization

The main idea of the algorithm comes from the paper:

A 99 line topology optimization code written in Matlab https://doi.org/10.1007/s001580050176