Re: [R] Using R to solve search problems

From: Achim Zeileis <Achim.Zeileis_at_uibk.ac.at>
Date: Fri, 18 Jun 2010 14:23:37 +0200 (CEST)

On Fri, 18 Jun 2010, Ambikesh Jayal wrote:

> Hi All,
>
> I am new to R and want to use R to solve search problems (like Traveling
> salesman problem, finding nearest neighbor, hill climbing). Is this possible
> in R?

For the "TSP" there is a dedicated package of the same name on CRAN. For the other algorithms, there seem to be various implementations around but (AFAICS) dedicated to special tasks. You might want to try RSiteSearch() to look around yourself. Furthermore, you might find the "Optimization" task view helpful, see

   http://CRAN.R-project.org/view=Optimization

hth,
Z

> To start with I want as follows.
>
> Find five float numbers whose sum is is equal to their product which should
> be 8000.
>
> x + y + z + p + r = 8000
> x * y * z * p * r = 8000
>
>
> Regards,
> Ambikesh Jayal.
> School of IS, Computing & Maths,
> Brunel University,
> Uxbridge, UB8 3PH,
> United Kingdom.
> Email: ambi1999_at_gmail.com
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 18 Jun 2010 - 12:27:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Jun 2010 - 12:30:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive