Hi, I saw in the tutorial there are various way to define constraints, and I have a problem of which function to use for the following complex constraints.
Suppose I have 10 input variables x and each of them is a vector with different length, and I need to constraint all of these variables, even an entry inside a vector, for example inputdata[:, 1][1] <= inputdata[:, 2][1]. And I also have some equality constraints, for example inputdata[:, 1][0] == inputdata[:, 1][-1]. May I ask which function should I use to handle these type of constraints?
Hi, I saw in the tutorial there are various way to define constraints, and I have a problem of which function to use for the following complex constraints.
Suppose I have 10 input variables x and each of them is a vector with different length, and I need to constraint all of these variables, even an entry inside a vector, for example inputdata[:, 1][1] <= inputdata[:, 2][1]. And I also have some equality constraints, for example inputdata[:, 1][0] == inputdata[:, 1][-1]. May I ask which function should I use to handle these type of constraints?
Any help would be greatly appreciated!