embotech / ecos

A lightweight conic solver for second-order cone programming.
GNU General Public License v3.0
468 stars 122 forks source link

ctrl-c in MATLAB #131

Open johanlofberg opened 9 years ago

johanlofberg commented 9 years ago

Two issues

When running ecos_bb, it seems to be detected in the inner algorithm (I see a sigint message) but the branching process keep on running and MATLAB has to be killed

When runnign ecos, it is detected and generates an ugly stop. Perhaps nicer to return control softly as other solvers do and define a new texit flag (user aborted)

johanlofberg commented 9 years ago

Hmm, the failure to stop in ecos_bb doesn't seem to be deterministic. Now it terminates every time

hanwang commented 9 years ago

Do you have the Matlab script which generates the failure in ecos_bb?