ProvideQ / toolbox-server

Resources for the server that hosts the toolbox (Backend)
https://provideq.kit.edu
MIT License
2 stars 1 forks source link

Solution Quality Evaluator #81

Open koalamitice opened 2 months ago

koalamitice commented 2 months ago

It would be nice to have some kind of component that can calculate the solution quality for solution. Implementing this is probably difficult and requires input from every solver.

A solution has to be interpreted, and then compared to the optimal solution of the problem. If the optimal solution is not known (which is usually always the case), a lower bound has to be established. The solution is then compared to the lower bound.

Example for Vehicle Routing: Lower Bound say the best route is 100km, solver finds a route that is 110km long. Solution Quality is 100/110 =~ 90.9%

Adding a solution evaluator would also allow to compare two solution directly with each other, which is nice when evaluation the results of two solution paths.

Elscrux commented 4 weeks ago

Two endpoints:

Elscrux commented 2 days ago

Endpoint path should be: /problems/problemType/{problemid}/bound

Elscrux commented 2 days ago

As part of this, the bound is persisted in the Problem

Elscrux commented 2 days ago

Compare problem solution with lower bound for problem is extracted to its own issue #99