Skip to content

Paretos dashboard

For an easy visualisation of your results a prebuilt dashboard is provided. It enables to connect fast to the database created by paretos optimization and is hosted locally.

Host the Local Dashboard

To host the dashboard and connect to the database create a small python script at the same place of your optimization script in the following way:

from paretos import Config, Paretos

config = Config(dashboard_port="5000")

paretos = Paretos(config)

paretos.show()
The dashboard can be accessed at http://localhost:5000 by default.

In case your database is located elsewhere, you can pass its path using data_source_name.

from paretos import Config, Paretos

config = Config(
   dashboard_port="5000", 
   data_source_name="sqlite:///example_path_folder/example_paretos.sqlite3"
)

paretos = Paretos(config)

paretos.show()