|
simulated annealing package help: msg#00014lib.gsl.general
Hey all, I was wondering if any of you guys know how to implement a penalty function with the gsl simulated annealing package. I mean the following: I am trying to minimize a certain function $f$ over a set $S$: $$ \min_{S} f$$ using simulated annealing. I know that SA will give convergence if I minimize the following $$ \min (f+\alpha I_S)$$ where $I$ is the indicator function of $f$, with $\alpha \to \infty$. So basically I need to add to the function of type "gsl_siman_step_t" an additional parameter alpha that will increase at each SA step. Any tricks? Any Ideas on how I could do it without changing the siman.c functions? Oh anyway. Why did you guys try to be do polymorphic programming with C? Many thanks and regards, Fra |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Complex vector math?: 00014, Brian Gough |
|---|---|
| Next by Date: | volunteer(s) to moderate the mailing lists: 00014, Brian Gough |
| Previous by Thread: | multidii: 00014, alberto |
| Next by Thread: | Re: simulated annealing package help: 00014, Brian Gough |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |