Problem in @NLobjective

thank you very much for the answer! I used the sigmoid and it works!
I’m sorry for posting the screenshot, next time I’ll text my code following the ten points shown in the post!
Thanks again!