Package: gMOIP 1.5.2

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.2.tar.gz
gMOIP_1.5.2.zip(r-4.5)gMOIP_1.5.2.zip(r-4.4)gMOIP_1.5.2.zip(r-4.3)
gMOIP_1.5.2.tgz(r-4.4-any)gMOIP_1.5.2.tgz(r-4.3-any)
gMOIP_1.5.2.tar.gz(r-4.5-noble)gMOIP_1.5.2.tar.gz(r-4.4-noble)
gMOIP_1.5.2.tgz(r-4.4-emscripten)gMOIP_1.5.2.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

35 exports 5 stars 1.98 score 80 dependencies 3 dependents 85 scripts 530 downloads

Last updated 7 months agofrom:abfecb8f34. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 18 2024
R-4.5-winNOTESep 18 2024
R-4.5-linuxNOTESep 18 2024
R-4.4-winOKSep 18 2024
R-4.4-macOKSep 18 2024
R-4.3-winOKSep 18 2024
R-4.3-macOKSep 18 2024

Exports:addNDSetaddNDSet2DaddRaysbinaryPointsclassifyNDSetconvexHullcornerPointscriterionPointsdimFacefinalize3DgenNDSetgenSamplegetTexturegMOIPThemeinHullini3DintegerPointsloadViewplotCones2DplotCones3DplotCriterion2DplotHull2DplotHull3DplotMTeX3DplotNDSet2DplotPlane3DplotPoints3DplotPolygon3DplotPolytopeplotRectangle3DplotTeX3DplotTitleTeX3DsaveViewslicestexToPng

Dependencies:abindbase64encbslibcachemclicolorspacecpp11digestdplyreafevaluatefansifarverfastmapfontawesomefsgenericsgeometryggplot2ggrepelgluegtablehighrhtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelinproglpSolvemagicmagrittrMASSMatrixmatrixStatsmemoisemgcvmimemodeltoolsmunsellnlmepillarpkgconfigplyrpngpurrrR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppGSLRcppParallelRcppProgressRcppZigguratRdpackRfastrglrlangrmarkdownsassscalesspstringistringrtibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyaml

Introduction to gMOIP

Rendered fromintro.Rmdusingknitr::rmarkdownon Sep 18 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 Sep 18 2024.

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

Plotting bi-objective models with two variables

Rendered frombi-objective_2x.Rmdusingknitr::rmarkdownon Sep 18 2024.

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

Plotting polytopes in 2D

Rendered frompolytope_2d.Rmdusingknitr::rmarkdownon Sep 18 2024.

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

Plotting polytopes in 3D - Example 1

Rendered frompolytope_3d_ex1.Rmdusingknitr::rmarkdownon Sep 18 2024.

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

Plotting tri-objective models

Rendered fromtri-objective.Rmdusingknitr::rmarkdownon Sep 18 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 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