orloca-package {orloca}R Documentation

The package deals with Operations Research LOCational Analysis models

Description

This version of the package deals with the min-sum or center location problems. The min-sum location problem search for a point such that the weighted sum of the distances to the demand points are minimized.

Details

Package:   orloca
Type:      Package
Version:   1.0
Date:      2008-06-12
License:   GPL (>= 2)
The packages provides a class (loca.p) that represents a location problem with a finite set of demand points over the plane. Also, it is possible to plot the points and the objective function. Such objective function is the total distances travel by all the customers to the service.

For a demo, load the package with library(orloca), and use demo(orloca).

Index:

loca.p: loca.p class description.
rloca.p: random instances of loca.p class objects.
zsum: function to compute objective function for min-sum models.
zsummin: to find minimum for the optimization problem.
plot.loca.p: to make plots of loca.p objects.
plot.zsum: to make plots of objective function.

Author(s)

Fernando Fernandez-Palacin <fernando.fernandez@uca.es> and Manuel Munoz-Marquez <manuel.munoz@uca.es>

Maintainer: Manuel Munoz-Marquez <manuel.munoz@uca.es>

References

[1] Love, R. F., Morris, J. G., Wesolowsky, G. O. Facilities Location: Chapter 2: Introduction to Single-Facility Location, 1988, North-Holland

[2] http://knuth.uca.es/orloca

See Also

Para la versión en español del paquete instale y consulte el paquete orloca-es-package. (For the spanish version of the packages install and look at orloca-es-package).

Examples

# An unweighted new loca.p object
o <- loca.p(x = c(-1, 1, 1, -1), y = c(-1, -1, 1, 1))

# Compute the objective function at point c(3, 4)
zsum(o, 3, 4)

# Solve the optimization problem
zsummin(o)

# Contour plot
contour.loca.p(o)

# Execute a demo of the package
demo(orloca)

[Package orloca version 2.0 Index]