optirustic 1.2.2

A multi-objective optimisation framework for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
import json
from pathlib import Path

import matplotlib.pyplot as plt
from optirustic import plot_reference_points

# Plot a 3D chart with the reference points
result_folder = Path(__file__).parent / "results"
with open(result_folder / "ref_points_2layers_3obj_5gaps.json") as fid:
    data = json.load(fid)
    plot_reference_points(data)
    plt.savefig(result_folder / "ref_points_2layers_3obj_5gaps.png")