Truss2DΒΆ

The problem was proposed in [52] for the purpose of investigating rules on Pareto-front.

[1]:
from pymoo.problems import get_problem
from pymoo.visualization.scatter import Scatter

pf = get_problem("truss2d").pareto_front()

sc = Scatter(title="Pareto-front")
sc.add(pf, s=80, facecolors='none', edgecolors='r')
sc.add(pf, plot_type="line", color="black", linewidth=2)
sc.show()
[1]:
<pymoo.visualization.scatter.Scatter at 0x12c7ed760>
../../_images/problems_multi_truss2d_2_1.png
[2]:
sc.reset()
sc.do()
sc.apply(lambda ax: ax.set_yscale("log"))
sc.apply(lambda ax: ax.set_xscale("log"))
sc.show()
[2]:
<pymoo.visualization.scatter.Scatter at 0x12c7ed760>
<Figure size 800x600 with 0 Axes>
../../_images/problems_multi_truss2d_3_2.png