Title: | The R to MOSEK Optimization Interface |
---|---|
Description: | This is a meta-package designed to support the installation of Rmosek (>= 6.0) and bring the optimization facilities of MOSEK (>= 6.0) to the R-language. The interface supports large-scale optimization of many kinds: Mixed-integer and continuous linear, second-order cone, exponential cone and power cone optimization, as well as continuous semidefinite optimization. Rmosek and the R-language are open-source projects. MOSEK is a proprietary product, but unrestricted trial and academic licenses are available. |
Authors: | MOSEK ApS |
Maintainer: | Henrik A. Friberg <[email protected]> |
License: | LGPL (>= 2.1) |
Version: | 1.3.5 |
Built: | 2024-10-31 20:51:26 UTC |
Source: | CRAN |
Unknown exported objects to be built:
mosek
mosek_clean
mosek_version
mosek_read
mosek_write
Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
This function attach
a database to the search path with utilities
to manage Rmosek in respect to the system requirement (i.e., MOSEK):
install.rmosek |
Install Rmosek package. |
update.rmosek |
Update Rmosek package. |
remove.rmosek |
Remove Rmosek package. |
These utilities are equivalent to, and accept the same arguments as,
install.packages
, update.packages
and
remove.packages
, differing only in default argument values
and the transmission of Rmosek-specific configuration variables (see details below).
mosek_attachbuilder(what_mosek_bindir, pos=2L, name="Rmosek:builder", warn.conflicts=TRUE)
mosek_attachbuilder(what_mosek_bindir, pos=2L, name="Rmosek:builder", warn.conflicts=TRUE)
what_mosek_bindir |
The path to the MOSEK 'bin' directory to build against. Should look like
|
pos |
Integer specifying position in |
name |
Name to use for the attached database. Names starting with |
warn.conflicts |
Logical. If |
The attached *.rmosek functions (install, update, remove) wrap the corresponding utils::*.packages functions with autoconfigured default argument values:
pkgs | = "Rmosek" |
repos | = "https://download.mosek.com/R/<MOSEKMAJORVER>.<MOSEKMINORVER>" |
configuration variables:
MSK_BINDIR | MOSEK 'bin' directory. |
If empty, autoconfigured from mosek executable on PATH. | |
MSK_HEADERDIR | MOSEK 'h' directory. |
If empty, autoconfigured from 'MSK_BINDIR'. | |
MSK_LIB | MOSEK library file. |
If empty, autoconfigured from 'MSK_BINDIR'. | |
and installation styles:
using_pkgbuild | Logical. Whether to execute in the 'pkgbuild' environment |
as is recommended on Windows to resolve Rtools. | |
using_sysenv | Logical. Whether to transmit configuration variables via |
Sys.setenv() as opposed to configure.vars. | |
## Not run: # # Build Rmosek for the given MOSEK Optimization Suite. # mosek_attachbuilder("<MSKHOME>/mosek/<MSKVERSION>/tools/platform/<PLATFORM>/bin") install.rmosek() # # Update Rmosek for the MOSEK Optimization Suite of the last build (if any). # mosek_attachbuilder() # Note: path is read from packageDescription("Rmosek") update.rmosek() # # Build Rmosek (from offline package file) for the given MOSEK Optimization Suite. # mosek_attachbuilder("<MSKHOME>/mosek/<MSKVERSION>/tools/platform/<PLATFORM>/bin") install.rmosek("<RMOSEKPATH>/Rmosek.tar.gz", repos=NULL) ## End(Not run)
## Not run: # # Build Rmosek for the given MOSEK Optimization Suite. # mosek_attachbuilder("<MSKHOME>/mosek/<MSKVERSION>/tools/platform/<PLATFORM>/bin") install.rmosek() # # Update Rmosek for the MOSEK Optimization Suite of the last build (if any). # mosek_attachbuilder() # Note: path is read from packageDescription("Rmosek") update.rmosek() # # Build Rmosek (from offline package file) for the given MOSEK Optimization Suite. # mosek_attachbuilder("<MSKHOME>/mosek/<MSKVERSION>/tools/platform/<PLATFORM>/bin") install.rmosek("<RMOSEKPATH>/Rmosek.tar.gz", repos=NULL) ## End(Not run)