psopt inside a for loop

35 views
Skip to first unread message

Mauricio Morales

unread,
Dec 2, 2019, 7:40:52 AM12/2/19
to PSOPT users group
Hi everybody,

I'm trying to obtain a family of solutions with a foor loop. However, after the second solution I get the program aborted with the following message:

"double free or corruption (!prev)
Aborted (core dumped"

Unfortunately this message is too generic to find out the error. Tried to clear the structure "solution" after each iteration but did solved.

Have anyone tried to put psopt inside a for loop?

Thanks!


Jaime Negro Vadillo

unread,
Apr 3, 2020, 6:14:03 AM4/3/20
to PSOPT users group
Dear Mauricio,

Did you manage to make it work?Unfortunately i am having the same error.
Thank you,

Jaime

Mauricio Morales

unread,
Apr 3, 2020, 9:50:40 AM4/3/20
to jaime...@gmail.com, PSOPT users group
Negative,

After many trials I decided to switch to a "not so elegant" solution: I developed a second code to read, modify, make and run the original code (that solves only one case). So, the loop is now in this second code. If you want a copy I can send it to you.

Regards,
Morales


--
You received this message because you are subscribed to the Google Groups "PSOPT users group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psopt-users-gr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psopt-users-group/c34bd9a7-d9a6-4681-b723-e505749e5c25%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages