Package: gMOIP 1.5.4

Lars Relund Nielsen

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

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.

Authors:Lars Relund Nielsen [aut, cre]

gMOIP_1.5.4.tar.gz
gMOIP_1.5.4.zip(r-4.5)gMOIP_1.5.4.zip(r-4.4)gMOIP_1.5.4.zip(r-4.3)
gMOIP_1.5.4.tgz(r-4.4-any)gMOIP_1.5.4.tgz(r-4.3-any)
gMOIP_1.5.4.tar.gz(r-4.5-noble)gMOIP_1.5.4.tar.gz(r-4.4-noble)
gMOIP_1.5.4.tgz(r-4.4-emscripten)gMOIP_1.5.4.tgz(r-4.3-emscripten)
gMOIP.pdf |gMOIP.html
gMOIP/json (API)
NEWS

# Install 'gMOIP' in R:
install.packages('gMOIP', repos = c('https://relund.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/relund/gmoip/issues

On CRAN:

2d-plot3d-plotbi-objectiveconvex-hullinteger-programminglinear-programmingmathmilpmixed-integer-programmingmulti-objectivepolytopetri-objectivevisualization

8.09 score 5 stars 3 packages 76 scripts 782 downloads 36 exports 79 dependencies

Last updated 26 days agofrom:077a08e8b6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 28 2024
R-4.5-winOKOct 28 2024
R-4.5-linuxOKOct 28 2024
R-4.4-winOKOct 28 2024
R-4.4-macOKOct 28 2024
R-4.3-winOKOct 28 2024
R-4.3-macOKOct 28 2024

Exports:addNDSetaddNDSet2DaddRaysbinaryPointsclassifyNDSetclassifyNDSetExtremeconvexHullcornerPointscriterionPointsdimFacefinalize3DgenNDSetgenSamplegetTexturegMOIPThemeinHullini3DintegerPointsloadViewplotCones2DplotCones3DplotCriterion2DplotHull2DplotHull3DplotMTeX3DplotNDSet2DplotPlane3DplotPoints3DplotPolygon3DplotPolytopeplotRectangle3DplotTeX3DplotTitleTeX3DsaveViewslicestexToPng

Dependencies:abindbase64encbslibcachemclicolorspacecpp11digestdplyrevaluatefansifarverfastmapfontawesomefsgenericsgeometryggplot2ggrepelgluegtablehighrhtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelinproglpSolvemagicmagrittrMASSMatrixmatrixStatsmemoisemgcvmimemoocoremunsellnlmepillarpkgconfigplyrpngpurrrR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppGSLRcppParallelRcppProgressRcppZigguratRdpackRfastrglrlangrmarkdownsassscalesspstringistringrtibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyaml

Introduction to gMOIP

Rendered fromintro.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2023-02-15
Started: 2020-05-12

Plotting bi-objective models with three variables - Example 1

Rendered frombi-objective_3x_ex1.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2021-08-23
Started: 2021-01-15

Plotting bi-objective models with two variables

Rendered frombi-objective_2x.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2021-08-23
Started: 2021-01-15

Plotting polytopes in 2D

Rendered frompolytope_2d.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2021-08-23
Started: 2019-07-04

Plotting polytopes in 3D - Example 1

Rendered frompolytope_3d_ex1.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2021-08-23
Started: 2021-01-14

Plotting tri-objective models

Rendered fromtri-objective.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2024-02-06
Started: 2021-01-15

Readme and manuals

Help Manual

Help pageTopics
Add discrete points to a non-dominated set and classify them into extreme supported, non-extreme supported, non-supported.addNDSet
Add all points on the bounding box hit by the rays.addRays
Binary (0-1) points in the feasible region (Ax<=b).binaryPoints
Classify a set of nondominated pointsclassifyNDSet
Find extreme points of a nondominated set of pointsclassifyNDSetExtreme
Find the convex hull of a set of points.convexHull
Calculate the corner points for the polytope Ax<=b.cornerPoints
Calculate the corner points for the polytope Ax<=b assuming all variables are continuous.cornerPointsCont
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.criterionPoints
Convert each row to a string.df2String
Return the dimension of the convex hull of a set of points.dimFace
Finalize the RGL window.finalize3D
Generate a sample of nondominated points.genNDSet
Generate a sample of points in dimension $p$.genSample
Save a point symbol as a temporary file.getTexture
The 'ggplot' theme for the packagegMOIPTheme
Find segments (lines) of a face.hullSegment
Efficient test for points inside a convex hull in p dimensions.inHull
Initialize the RGL window.ini3D
Integer points in the feasible region (Ax<=b).integerPoints
Help function to load the view angle for the RGL 3D plot from a file or matrixloadView
Merge two lists to onemergeLists
Plot a cone defined by a point in 2D.plotCones2D
Plot a cone defined by a point in 3D.plotCones3D
Create a plot of the criterion space of a bi-objective problemplotCriterion2D
Plot the convex hull of a set of points in 2D.plotHull2D
Plot the convex hull of a set of points in 3D.plotHull3D
Plot the lines of a linear mathematical program (Ax = b)plotLines2D
Plot TeX in the marginplotMTeX3D
Create a plot of a discrete non-dominated set.plotNDSet2D
Plot a plane in 3D.plotPlane3D
Plot points in 3D.plotPoints3D
Plot a polygon.plotPolygon3D
Plot the polytope (bounded convex set) of a linear mathematical program (Ax <= b)plotPolytope
Plot the polytope (bounded convex set) of a linear mathematical programplotPolytope2D
Plot the polytope (bounded convex set) of a linear mathematical programplotPolytope3D
Plot a rectangle defined by two corner points.plotRectangle3D
Plot TeX at a position.plotTeX3D
Draw boxes, axes and other text outside the data using TeX strings.plotTitleTeX3D
To size of the png file.pngSize
Help function to save the view angle for the RGL 3D plotsaveView
Find all corner points in the slices define for each fixed integer combination.slices
Convert LaTeX to a png filetexToPng