Hi! I come here because I got this error message. I already checked my code that defines costs, dw and db and it works fine, so I still can’t understand what the problem is. Thank u.
I managed to get it to work! , I needed to define w = params (“w”) and the other too