Thepaperpresentsanefficient88lineMATLABcodefortopologyoptimization.Ithasbeendevelopedusingthe99linecodepresentedbySigmund(StructMultidiscOptim21(2):120-127,2001)asastartingpoint.Theoriginalcodehasbeenextendedbyadensityfilter,andaconsiderableimprovementinefficiencyhasbeenachieved,mainlybypreallocatingarraysandvectorizingloops.Aspeedimprovementwithafactorof100isobtainedforabenchmarkexamplewith7,500elements.Moreover,thelengthofthecodehasbeenreducedtoamere88lines.Theseimprovementshavebeenaccomplishedwithoutsacrificingthereadabilityofthecode.The88linecodecanthereforebeconsideredasavaluablesuccessortothe99linecode,providingapracticalinstrumentthatmayhelptoeasethelearningcurveforthoseenteringthefieldoftopologyoptimization.ThepaperalsodiscussessimpleextensionsofthebasiccodetoincluderecentPDE-basedandblack-and-whiteprojectionfilteringmethods
1