Hello Team,
I tried to run the code in the Tutorials for Commonroad-io but met the following problems.
In Tutorial 1:
- I couldn’t find the file ‘ZAM_Tutorial-1_1_T-1.xml’
In Tutorial 2: - x = Variable(n,N+1): Variable name 41 must be a string.
So I tried: x = Variable((n,N+1)) - cost = quad_form(x[:,k+1]-npy.transpose(npy.array([0,v_ref,0,0])), Q) + quad_form(u[:,k],R): invalid dimension of args
So I tried: R = npy.array([[w_u]]) - prob.constraints += [x[:,0] == x_0]: ValueError: Cannot broadcast dimensions (4,) (4, 1)
So I tried: prob.constraints += [x[:,0] == x_0.reshape(n)] - prob.constraints += [x[:,0] == x_0.reshape(n)]: AttributeError: can’t set attribute
I am using python3.6 and cvxpy1.0.25, could it be the problem of the versions?
Thank you very much for your answers!