aboutsummaryrefslogtreecommitdiff
path: root/src/solver_highs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/solver_highs.c')
-rw-r--r--src/solver_highs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solver_highs.c b/src/solver_highs.c
index 214fb8d..0e8b0cb 100644
--- a/src/solver_highs.c
+++ b/src/solver_highs.c
@@ -33,7 +33,7 @@ static int solver_highs_unwrapped(double *solution, struct job_clist *q,
return -errno;
}
for (size_t i = 0; i < jobid->filled; i++) {
- if (jobid->jobs[i]->scheduled)
+ if (jobid->jobs[i]->requested)
col_profit[i] = 1.0;
}