Learn R Programming

⚠️There's a newer version (1.5.3) of this package.Take me there.

gMOIP (version 1.3.0)

'2D and 3D plots of linear mathematical programming models'

Description

Make 2D and 3D plots of the polytope of a LP, ILP or MILP problem, including integer points and iso profit curve. Can also make a plot of the bi-objective criterion space.

Copy Link

Version

Install

install.packages('gMOIP')

Monthly Downloads

807

Version

1.3.0

License

GPL (>= 3.3.2)

Issues

Pull Requests

Stars

Forks

Maintainer

Lars Relund

Last Published

August 5th, 2019

Functions in gMOIP (1.3.0)

loadView

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

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

Merge two lists to one
saveView

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

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

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

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

Calculate the corner points for the polytope Ax<=0.
cornerPointsCont

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

Plot the polytope (bounded convex set) of a linear mathematical program
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.
gMOIP

2D plots of linear/integer programming models.
inHull

Efficient test for points inside a convex hull in n dimensions. Inspired by the Matlab code by John D'Errico http://www.mathworks.com/matlabcentral/fileexchange/10226-inhull and https://tolstoy.newcastle.edu.au/R/e8/help/09/12/8784.html
hullSegment

Find segments (lines) of a face.
df2String

Convert each row to a string.
integerPoints

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