Skip to content
Prev 333183 / 398506 Next

optimization: multiple assignment problem

Jean-Francois Chevalier <Jean-Francois.Chevalier <at> bisnode.com> writes:
You have already given the answer yourself. You have binary variables x(j, i),
you need to set up the inequalities, and then apply one of the mixed-integer
linear programming solvers in R, for instance 'lpSolve', 'Rglpk', 'Rsymphony'.

Setting up the inequalities may be slightly involved. You have not provided
reproducible code, so no concrete answer possible.

Hans Werner