Solver results

asked 2019-03-28 21:41:13 +0200

blazej1000 gravatar image

Hi, I wrote short macro solving simple linear optimization problem and I face strange behavior running it: 1. If I choose NLPSolver (by calling 'CreateUnoService("com.sun.star.comp.Calc.NLPSolver.SCOSolverImpl")') model is solved and results are saved in sheet (value of objective cell, variables and constrants) -- all works well. 2. If I choose CoinMPSolver model is solved (I can retrive results from the Solver object), but cells in sheet are unattached - all variables, constraints and objective are set to 0.

So, the question is: what should I set in case of linear solver to have results stored in cells of sheet?

I use LO 6.1.5.2 Build ID: 1:6.1.5-1 on Debian 64.

Regards, Marcin

edit retag flag offensive close merge delete