Hi! Received.
Quote:
Also, the txt files containing the quadratic term and the linear constraints respectively seems to be weird
That's ok, it is not a human-readable format. A special binary-to-text format that uses only alphanumerics and several special chars that do not interfere with XML, UTF8, Windows/Unix line breas and other portability issues. Can be moved between different ALGLIB versions, even written in different languages.
I have checked ALGLIB performance on your problem. Such a long running time is partly because your problem is big. You have quite a lot tightly interacting constraints, and a non-trivial quadratic factor too.
However, I see a potential point for improvement. Your problem has A LOT doubleton rows (equality constraints with just two elements) that can be used to factor out some variables during presolve. Such many doubletons in one place are rarely seen. That kind of presolve heuristic has mixed effects on the running time because it decreases cols count but makes them more dense, that's why it is not implemented in the presolver yet. However, I can spend some time looking into this direction, it is an interesting line of investigation.
May I ask you, do you have any deadline for the project that involves this problem? I plan to release ALGLIB 4.02 this week, so I am quite busy over the next several days :) However, after the release I will be happy to experiment with your problem. I do not expect a 10x improvement in the running time, but maybe we will be able to make it 2x faster. Not 100% sure that we will make it, but it looks possible.