Skip to content

Commit

Permalink
evanix: only disable pipeline when highs is in use
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanmohd committed Aug 25, 2024
1 parent 0619958 commit 62b91f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/evanix.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,10 @@ static int opts_read(struct evanix_opts_t *opts, char **expr, int argc,
goto out_free_evanix;
}

if (opts->solver == solver_highs)
if (opts->solver == solver_highs &&
(opts->max_time || opts->max_builds)) {
opts->ispipelined = false;
}

out_free_evanix:
if (ret != 0)
Expand Down

0 comments on commit 62b91f5

Please sign in to comment.