haiku/headers/libs/linprog
Alex Wilson c8b24e3eb5 Fix BALMLayout archiving issues.
SharedSolver was archiving too many constraints, partly because of
multiple typos, also because it archived some which were just artifacts
of the layout process. These extra constraints are created when the
layout calls SetRange() on the left/top/right/bottom tabs during layout.

* LinearSpec/ActiveSetSolver had to be adjusted to get access to the
  constraints added by the SetRange() calls.
* BALM::TabBase was adjusted to avoid a segfault during unarchiving,
  caused by an unitialized member.
* ALMFriendLayoutTest was adjusted to include a more obvious custom
  constraint for testing.
2012-05-03 08:45:44 +12:00
..
Constraint.h Add a comment about who is responsible to clean up. 2011-06-18 01:29:27 +00:00
LinearProgrammingTypes.h Merge all linear programming types in one file an rename them. 2010-12-13 19:23:33 +00:00
LinearSpec.h Fix BALMLayout archiving issues. 2012-05-03 08:45:44 +12:00
Summand.h Add an alternative solver to lp_solve. The solver based on Ingo's active set solver but is able to handle arbitrary hard and soft constraints. The advantage to lp_solve is that the active set solver can optimize variable in respect to a quadratic objective function. This makes it possible to minimise the quadratic derivation to a desired value e.g. \Sum_i(x_i - x_{i,pref})^2 -> min. 2011-01-25 04:59:40 +00:00
Variable.h - Areas with same tabs are put in a column/row automtically. Move preferred size constraint from Area to the column/row. This avoids a "spring" effect of the 2011-03-14 00:24:12 +00:00