At Mon, 14 Apr 2008 17:56:15 +0200,
Stefano Bolli wrote:
> I've a problem using gsl_siman(...), I'm using version 1.11 of the GSLlibrary.
> Reading the documentation I expect that at the end the pointer to initial
> solution
> now point to the memory that contain the representation of the best solution
> found executing the algorithm.
> Executing my program I correctly obtain the evaluation of the best cost,
> BUT
> the solution returned is simply the last computed and not the best !!!
> 
> Note that I am using vector<int> as data structure to rapresent my problem.

Do you provide working 'copyfunc' and 'copy_constructor' functions?
If not, you will see this type of incorrect behavior I think.

-- 
Brian Gough


_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to