Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix stupid bug
  • Loading branch information
Joao-Dionisio committed May 10, 2025
commit ba7321c576f9cedd834a5b26864d360f9c22b22e
7 changes: 3 additions & 4 deletions src/pyscipopt/scip.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -1474,15 +1474,14 @@ cdef extern from "scip/cons_linear.h":
SCIP_Real* SCIPgetValsLinear(SCIP* scip, SCIP_CONS* cons)
SCIP_ROW* SCIPgetRowLinear(SCIP* scip, SCIP_CONS* cons)

cdef extern from "scip/cons_knapsack.h"
cdef extern from "scip/cons_knapsack.h":
SCIP_RETCODE SCIPcreateConsKnapsack(SCIP* scip,
SCIP_CONS** cons,
char* name,
int nvars,
SCIP_VAR** vars,
SCIP_Real* vals,
SCIP_Real lhs,
SCIP_Real rhs,
SCIP_Real* weights,
SCIP_Real capacity,
SCIP_Bool initial,
SCIP_Bool separate,
SCIP_Bool enforce,
Expand Down