Learn R Programming

gMOIP (version 1.5.6)

Tools for 2D and 3D Plots of Single and Multi-Objective Linear/Integer Programming Models

Description

Make 2D and 3D plots of linear programming (LP), integer linear programming (ILP), or mixed integer linear programming (MILP) models with up to three objectives. Plots of both the solution and criterion space are possible. For instance the non-dominated (Pareto) set for bi-objective LP/ILP/MILP programming models (see vignettes for an overview). The package also contains an function for checking if a point is inside the convex hull.

Copy Link

Version

Install

install.packages('gMOIP')

Monthly Downloads

397

Version

1.5.6

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Lars Relund

Last Published

March 1st, 2026

Functions in gMOIP (1.5.6)

ini3D

Initialize the RGL window.
genSample

Generate a sample of points in dimension $p$.
plotPoints3D

Plot points in 3D.
plotPlane3D

Plot a plane in 3D.
plotPolygon3D

Plot a polygon.
inHull

Efficient test for points inside a convex hull in p dimensions.
plotPolytope

Plot the polytope (bounded convex set) of a linear mathematical program (Ax <= b)
getTexture

Save a point symbol as a temporary file.
plotHull3D

Plot the convex hull of a set of points in 3D.
plotLines2D

Plot the lines of a linear mathematical program (Ax = b)
loadView

Help function to load the view angle for the RGL 3D plot from a file or matrix
.mToDirection

Convert min/max to direction (1/-1)
plotMTeX3D

Plot TeX in the margin
pngSize

To size of the png file.
plotTitleTeX3D

Draw boxes, axes and other text outside the data using TeX strings.
mergeLists

Merge two lists to one
integerPoints

Integer points in the feasible region (Ax<=b).
plotPolytope2D

Plot the polytope (bounded convex set) of a linear mathematical program
plotNDSet2D

Create a plot of a discrete non-dominated set.
plotPolytope3D

Plot the polytope (bounded convex set) of a linear mathematical program
plotCones2D

Plot a cone defined by a point in 2D.
plotRectangle3D

Plot a rectangle defined by two corner points.
.sizeM

Estimate 1 em in pixels in the resulting png.
saveView

Help function to save the view angle for the RGL 3D plot
slices

Find all corner points in the slices define for each fixed integer combination.
plotTeX3D

Plot TeX at a position.
plotHull2D

Plot the convex hull of a set of points in 2D.
plotCones3D

Plot a cone defined by a point in 3D.
plotCriterion2D

Create a plot of the criterion space of a bi-objective problem
texToPng

Convert LaTeX to a png file
classifyNDSet

Classify a set of nondominated points
cornerPointsCont

Calculate the corner points for the polytope Ax<=b assuming all variables are continuous.
criterionPoints

Calculate the criterion points of a set of points and ranges to find the set of non-dominated points (Pareto points) and classify them into extreme supported, non-extreme supported, non-supported.
addRays

Add all points on the bounding box hit by the rays.
convexHull

Find the convex hull of a set of points.
binaryPoints

Binary (0-1) points in the feasible region (Ax<=b).
addNDSet

Add discrete points to a non-dominated set and classify them into extreme supported, non-extreme supported, non-supported.
classifyNDSetExtreme

Find extreme points of a nondominated set of points
cornerPoints

Calculate the corner points for the polytope Ax<=b.
addNDSet2D

Add 2D discrete points to a non-dominated set and classify them into extreme supported, non-extreme supported, non-supported.
finalize3D

Finalize the RGL window.
df2String

Convert each row to a string.
.checkPts

Check if point input is okay
gMOIP-package

gMOIP: Tools for 2D and 3D Plots of Single and Multi-Objective Linear/Integer Programming Models
dimFace

Return the dimension of the convex hull of a set of points.
.getRanges

Get ranges of the bounding box margins
genNDSet

Generate a sample of nondominated points.
gMOIPTheme

The ggplot theme for the package
hullSegment

Find segments (lines) of a face.