Commit 8a6e8524 authored by Max Lyon's avatar Max Lyon
Browse files

set timeout for LPSolveSolver

parent bd16a88d
......@@ -64,6 +64,8 @@ bool solve_impl(
if(lp == nullptr)
ret = 1; /* couldn't construct a new model... */
set_timeout(lp, _time_limit);
std::vector<int> col_idxs;
col_idxs.reserve(Ncol);
std::vector<REAL> row_coefficients;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment