Tobias Achterberg
unread,Sep 22, 2017, 2:28:50 AM9/22/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gur...@googlegroups.com
Note that barrier without crossover will also provide an optimal solution. But typically
this is not a vertex solution. Often, LP models from practice have a multiple optimal
solutions. These solutions define a face of the polyhedron of feasible solutions, i.e.,
there is actually an infinite amount of optimal solutions, because every convex
combination of optimal solutions is again an optimal solution. For example, if you have
min x + y
s.t. x + y >= 1
x >= 0
y >= 0
then the whole line segment from (1,0) to (0,1) is optimal. The simplex algorithm always
yields a vertex solution, i.e., either (1,0) or (0,1) in this example. The barrier
algorithm, however, will end up in the analytic center of the optimal face, which is
(0.5,0.5) in the example. Often, one wants to have a vertex solution, which is why
crossover is enabled by default. This will go from the center solution (0.5,0.5) to one of
the vertex solutions. But nevertheless, (0.5,0.5) is optimal as well. So, you can just
disable crossover and still get an optimal solution.
Whether it is better to use higher numerical focus or play with the scaling flag depends a
lot on the problem instance. You have to try what works best for you. The default scaling
is pretty aggressive. If this leads to solutions with unscaled infeasibilities, then you
could first try to set ScaleFlag to 1.
Regards,
Tobias