-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
For now, the tests available are too "small" to really demonstrate the influence of the sparsity of the Jacobian matrix for solvers that support it. We need larger sparse problems to really compare dense and sparse implementations.
What we could do at first is create a RobOptim filter that "duplicates" or "copy-pastes" a problem to artificially increase its size:
Problem: ---> Enlarged problem:
cost: f(x0,x1) cost: f(x0,x1) + f(x2,x3) + f(x4,x5) + ...
constraints: constraints:
g0(x0,x1) g0_0(x0,x1), g0_1(x2,x3), g0_2(x4,x5), ...
g1(x0,x1) g1_0(x0,x1), g1_1(x2,x3), g1_2(x4,x5), ...The solver would be solving several times the same problem, with a very sparse structure. Also, if we know the optimal solution of the problem, we also know the optimal solution of the enlarged problem.
Having actual problems would of course be better, but this trick may be sufficient for now.