[ojAlgo-user] Connect variable names in MPS file with Optimisation.Result values
Mathematics, linear algebra and optimisation
Brought to you by:
apete
From: Steffen B. <bor...@ma...> - 2013-02-27 18:19:42
|
Hello! I'm solving a linear program using ojalgo. To do so, i write an MPS file and call 'MathProgSysModel.makeFromFile'. The solving process works just fine, but in the 'Optimisation.Result' i cannot tell which value is associated to which variable. Their order is not preserved, so i cannot simply iterate over the 'or.doubleValues'. How do i connect variable names with the solution? Thanks for a reply! Best Steffen |