[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Interrupting and then resuming minimization
From: |
Patrick Alken |
Subject: |
Re: [Help-gsl] Interrupting and then resuming minimization |
Date: |
Wed, 7 Aug 2019 04:54:26 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
Can you just save the current position vector (state->x) and then start
from there the next time?
On 8/6/19 5:06 PM, Pedro Gardete wrote:
> Hi,
>
> I'm running a minimization that may need to be interrupted some times, due
> to computational constraints.
>
> Is there a way I can save the "gsl_multimin_minimizer" variable, so I can
> resume optimization? The tricky part is that this struct has a void pointer
> with unknown size... I assume the remaining fields of the struct simply
> depend on the chosen minimization method.
>
> Thank you!
> Pedro