Skip to content

Commit

Permalink
Closes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
relund committed Oct 25, 2024
1 parent ca00cb7 commit cfe58c6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 1.5.3
Date: 2024-10-09 05:36:36 UTC
SHA: 9f65c679803fc810b29ceb2ddfff77d0802a0664
Date: 2024-10-09 07:38:23 UTC
SHA: ca00cb7c8703085ca6c424472e5ec12648918f69
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: gMOIP
Type: Package
Title: Tools for 2D and 3D Plots of Single and Multi-Objective Linear/Integer Programming Models
Version: 1.5.3
Version: 1.5.4
Authors@R: person("Lars", "Relund Nielsen", email = "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-4802-3071"))
URL: https://relund.github.io/gMOIP/, https://github.com/relund/gMOIP/
Expand Down Expand Up @@ -37,7 +37,7 @@ Imports:
rlang,
png,
sp,
eaf
moocore
Suggests:
tikzDevice,
grid,
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# gMOIP 1.5.4

* Removed obsolete package `eaf` and replaced it with `moocore`.

# gMOIP 1.5.3

* Add classification algorithm for extreme nondominated points.
Expand Down
2 changes: 1 addition & 1 deletion R/ndset.R
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ addNDSet<-function(pts, nDSet = NULL, crit = "max", keepDom = FALSE, dubND = FAL
pts <- pts[-1,]
}
set <- bind_rows(nDSet, pts)
idx <- eaf::is_nondominated(set, maximise = (direction == -1), keep_weakly = dubND)
idx <- moocore::is_nondominated(set, maximise = (direction == -1), keep_weakly = dubND)

# pf <- dplyr::if_else(direction == 1, "quo(", "quo(desc(")
# sf <- dplyr::if_else(direction == 1, ")", "))")
Expand Down

0 comments on commit cfe58c6

Please sign in to comment.