Describe the bug
I'm posting this on behalf of another user. On Windows, using the MATLAB interface of OpEn, compilation fails when no penalty function is provided.
it is working. If I am doing it in the reverse order (using a clean / empty folder), I am getting the following error message when using .with_constraints_as_penalties([]):
Actually, the compiler is trying to find auto_casadi_constraints_type_penalty.c although it is not there (as we have chosen .with_constraints_as_penalties([])). If I am building the code with penalty constraints first, then the related file is actually there - in the reverse order this is not the case.
Describe the bug I'm posting this on behalf of another user. On Windows, using the MATLAB interface of OpEn, compilation fails when no penalty function is provided.
To Reproduce
If I am running the following code first:
and then
it is working. If I am doing it in the reverse order (using a clean / empty folder), I am getting the following error message when using
.with_constraints_as_penalties([]):
Actually, the compiler is trying to find
auto_casadi_constraints_type_penalty.c
although it is not there (as we have chosen.with_constraints_as_penalties([])
). If I am building the code with penalty constraints first, then the related file is actually there - in the reverse order this is not the case.System information:
Windows OS. Note: Cannot reproduce on Linux.