Full horizon and cost function value from S-function

hey @smit,

thanks for your answer. Nice approach, guess it was just easier than adding the source c code haha. :wink: I will have a look.

If anyone else did add the cost function value in the source code, feel free to share. :smiley:

Greets, Alex