By Patrick O'Callaghan, Sheel Sansare, Tristan Wang as part of the Stanford CS224W Winter 2023 course project
Our colaboratory notebook provides some additional detail of our codebase.
from casadi import MX, SX, DM, Function, nlpsol | |
from casadi import vertcat, dot, Sparsity, transpose, mac | |
import numpy as np | |
#============================================================================== | |
#-----------parameters | |
#------------------------------------------------------------------------------ | |
#-----------economic parameters | |
#-----------basic economic parameters |