You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: can't call getVal from a matrix expression #1062
@Zeroto521 do you mind if I assign this to you, since you've been looking at expressions?
Move _evaluate into Term/Expr/GenExpr/MatrixExpr as a private method, like def _evaluate(self, Solution sol) -> float:.
The current _evaluate only works for Expr/MatrixExpr. _evaluate doesn't have any logic to handle GenExpr.
It may fix this problem, based on my experience.
Activity
Joao-Dionisio commentedon Aug 25, 2025
Same with normal variables, this isn't a matrix variable bug.
Joao-Dionisio commentedon Oct 13, 2025
Seems like I wasn't very nice in this end of August period, sorry about that @Zeroto521 😓
What I meant to say is that this seems to be a problem with using
getValin fractions, not really matrix variables.Joao-Dionisio commentedon Jan 6, 2026
@Zeroto521 do you mind if I assign this to you, since you've been looking at expressions?
Zeroto521 commentedon Jan 7, 2026
Move
_evaluateintoTerm/Expr/GenExpr/MatrixExpras a private method, likedef _evaluate(self, Solution sol) -> float:.The current
_evaluateonly works forExpr/MatrixExpr._evaluatedoesn't have any logic to handleGenExpr.It may fix this problem, based on my experience.
PySCIPOpt/src/pyscipopt/scip.pxi
Lines 1101 to 1124 in 2645c4d
Joao-Dionisio commentedon Jan 20, 2026
Closing this to clear the issue page, as it's being actively developed in #1148