Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CoMISo
CoMISo
Commits
8a6e8524
Commit
8a6e8524
authored
Jan 27, 2021
by
Max Lyon
Browse files
set timeout for LPSolveSolver
parent
bd16a88d
Changes
1
Hide whitespace changes
Inline
Side-by-side
NSolver/LPSolveSolver.cc
View file @
8a6e8524
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment