similar to: solve_TSP ignores control data, or I'm reading the help doc incorrectly.

Displaying 15 results from an estimated 15 matches similar to: "solve_TSP ignores control data, or I'm reading the help doc incorrectly."

2011 Aug 19
3
ATSP to TSP reformulation
Greetings, I am having trouble getting the function reformulate_ATSP_as_TSP to work for me. I have provided a simple example of some of the code I've been using. In particular, I'm not sure why I'm getting the error "Error in dimnames(tsp) <- list(lab, lab) : length of 'dimnames' [1] not equal to array extent" since I created the object ATSP with a valid
2010 May 19
1
Where is the construction of a dist object from raw data described?
Any reference to the appropriate documentation would be most appreciated. I am using the TSP module for clustering of HIV genetic sequences. The distances have already been computed and available as either upper-triangular or square, i.e.: a 1 2 3 b 4 5 c 6 d or a 0 1 2 3 b 1 0 4 5 c 2 4 0 6 d 3 5 6 0 The TSP modules takes in a "dist" object.
2011 Aug 19
2
Multiple Traveling Salesperson Problem
While R has library TSP to help solve traveling salesperson problems, does anyone know if it has any libraries to help solve multiple traveling salesperson problems? For instance, suppose one is planning school bus routes and one has multiple buses. Thank you for your time. -- View this message in context:
2011 Aug 18
1
convert a matrix to binaryMatrix in Recommenderlab
Does anyone have experience about how to convert a matrix to binaryMatrix using Recommenderlab package? Thanks, Jing [[alternative HTML version deleted]]
2010 Dec 20
2
package "arules" - 'transpose' of the transactions
Suppose this is my list of transactions: set.seed(200) tran=random.transactions(100,3) inspect(tran) items transactionID 1 {item80} trans1 2 {item8, item20} trans2 3 {item28} trans3 I want to get the 'transpose' of the data, i.e. transactionID items 1 {trans2} item8 2 {trans2} item20 3 {trans3} item28 4 {trans1} item80 I
2010 Nov 10
1
clustering association rules
Hello. I have a general question regarding to clustering of association rules. According to http://cran.r-project.org/web/packages/arules/vignettes/arules.pdf "4.7 Distance based clustering transactions and associations" there is possibility for creating clusters of association rules. I do not understand, how I have to interpret clusters of rules. Let us have next association rules and
2015 Mar 19
6
RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices
This is a Request For Comment, also BCCed to 390 package maintainers of reverse dependencies of the Matrix package. Most users and package authors working with our 'Matrix' package will be using it for numerical computations, and so will be using "dMatrix" (d : double precision) matrix objects M, and indirectly, e.g., for M >= c will also use "lMatrix" (l:
2012 May 06
4
comparaciones planeadas
Hola a todos, hace poquito una persona escribía con una duda que se parece, o es, la misma que yo vengo teniendo. Se trata de hacer comparaciones planeadas. Supongamos un experimento en el que participan 4 grupos de niños 8por ejemplo de distintos coles). Estos niños leen palabras largas y cortas, frecuentes e infrecuentes. Por lo tanto el diseño es fácil, un intergrupo "niños" y dos
2015 Aug 27
0
Column name expansion in data.frame()
Dear R developers: I am trying to add a column to a data.frame. The following does the trick by expanding the name of the first data frame with the prefix foo: > data.frame(foo = as.list(data.frame(items = 1:3, bar=1:3)), items = 1:3) foo.items foo.bar items 1 1 1 1 2 2 2 2 3 3 3 3 However, the following special case produces an
2014 Nov 30
1
Using FPP preprocessor for Fortran Code
Dear R Developers, For package seriation I use Fortran code. I recently got a request to add #if defined(__ICC) || defined(__INTEL_COMPILER) USE IFPORT #endif to the code since the Intel Fortran compiler otherwise has problems with rand(). However, to enable the FPP preprocessor I have to either add a compiler flag (-cpp for gFortran) which is possibly not portable or change the
2015 Mar 20
0
RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices
Hi Martin, package arules heavily relies on ngCMatrix and uses multiplication and addition for logical operations. I think it makes sense that in a mixed operation with one dgCMatrix and one ngCMatrix the ngCMatrix should be "promoted" to a dgCMatrix. The current behavior of %*% and friends is in deed confusing: > m <- matrix(sample(c(0,1), 5*5, replace=TRUE), nrow=5) >
2002 Apr 30
2
RAID-5/LVM/ext3
Hello: We trying to configure one machine (Compaq Proliant ML760) with 8 disks (72GB each disk) with RAID. We are thinking to use ext3 and LVM in RedHat 7.2 for manage one filesystem with 500GB. This filesystems have to store near off 5.000.000 of files. Is this possible? Could I resize the filesystems/volume to 1TB? what are the ext3 and LVM limits? someone have tested sismilar environment? I
2009 Nov 25
3
Concave hull
Dear friends, Do you know how to calculate the CONCAVE hull of a set of points (2- dimensional or n-dimensional)? is that possible in R? (With a "smoothing" parameter of course). Best, -- Corrado Topi Global Climate Change & Biodiversity Indicators Area 18,Department of Biology University of York, York, YO10 5YW, UK Phone: + 44 (0) 1904 328645, E-mail: ct529 at york.ac.uk
2006 Oct 27
2
Telnet and SSH login problems with Red Hat Enterprise ES4
Hello We have successfully set up Red Hat Enterprise Linux ES4 and we are now trying to connect remote clients to connect to it. The problems we are having are as follows: a) If we set connect with telnet, we get the login prompt. If we use any valid login name & password combination (including root), we get the response "Login incorrect" and then the login prompt comes back. How
2010 May 28
5
difference in sort order linux/Windows (R.2.11.0)
Dear R users, I'm a bit perplexed with the effect sort has here, as it is different on Windows vs. linux. It makes my factor levels and subsequent plots different on the two systems. Given: types <- c("PC-D-Euro-0", "PC-D-Euro-1", "PC-D-Euro-2", "PC-D-Euro-3", "PC-D-Euro-4", "PC-D-Euro-5", "PC-D-Euro-6",