Package: rminizinc 0.0.8

rminizinc: R Interface to 'MiniZinc'

Constraint optimization, or constraint programming, is the name given to identifying feasible solutions out of a very large set of candidates, where the problem can be modeled in terms of arbitrary constraints. 'MiniZinc' is a free and open-source constraint modeling language. Constraint satisfaction and discrete optimization problems can be formulated in a high-level modeling language. Models are compiled into an intermediate representation that is understood by a wide range of solvers. 'MiniZinc' itself provides several solvers, for instance 'GeCode'. R users can use the package to solve constraint programming problems without using 'MiniZinc' directly, modify existing 'MiniZinc' models and also create their own models.

Authors:Akshit Achara, Lars Kotthoff, Hans W. Borchers, Guido Tack

rminizinc_0.0.8.tar.gz
rminizinc_0.0.8.zip(r-4.5)rminizinc_0.0.8.zip(r-4.4)rminizinc_0.0.8.zip(r-4.3)
rminizinc_0.0.8.tgz(r-4.4-x86_64)rminizinc_0.0.8.tgz(r-4.4-arm64)rminizinc_0.0.8.tgz(r-4.3-arm64)rminizinc_0.0.8.tgz(r-4.3-x86_64)
rminizinc_0.0.8.tar.gz(r-4.5-noble)rminizinc_0.0.8.tar.gz(r-4.4-noble)
rminizinc_0.0.8.tgz(r-4.4-emscripten)rminizinc_0.0.8.tgz(r-4.3-emscripten)
rminizinc.pdf |rminizinc.html
rminizinc/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/acharaakshit/rminizinc/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

57 exports 13 stars 1.65 score 11 dependencies 5 scripts 306 downloads

Last updated 3 years agofrom:8715f5f557. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 26 2024
R-4.5-win-x86_64NOTEAug 26 2024
R-4.5-linux-x86_64NOTEAug 26 2024
R-4.4-win-x86_64NOTEAug 26 2024
R-4.4-mac-x86_64NOTEAug 26 2024
R-4.4-mac-aarch64NOTEAug 26 2024
R-4.3-win-x86_64NOTEJul 27 2024
R-4.3-mac-aarch64NOTEJul 27 2024
R-4.3-mac-x86_64NOTEJul 27 2024

Exports:AnnotationArrayArrayAccessArrDomainDeclAssignItemassignmentassignment_2BinOpBoolBoolArrDeclBoolDeclboolExpressionsBoolSetDeclCallComprehensionConstraintItemExpressionFloatFloatArrDeclFloatDeclfloatExpressionsFloatSetDeclFloatSetValFunctionItemGeneratorget_missing_parsIncludeItemIntIntArrDeclIntDeclintExpressionsIntSetDeclIntSetValIteItemknapsackLetmagic_seriesmagic_squareModelmzn_evalmzn_parseproduction_planningSetset_paramssol_parseSolveItemStringStringArrDeclstringExpressionsStringSetDeclTypeTypeInstUnOpVarDeclVarDeclItemVarDomainDecl

Dependencies:backportscheckmatedata.tablejsonliteR6RcpprjsonrlangrlistXMLyaml

R Interface to MiniZinc

Rendered fromR_MiniZinc.Rmdusingknitr::rmarkdownon Aug 26 2024.

Last update: 2021-06-06
Started: 2020-03-11

Readme and manuals

Help Manual

Help pageTopics
rminizinc: R Interface to 'MiniZinc'rminizinc-package rminizinc
AnnotationAnnotation
create an arrayArray
Array AccessArrayAccess
declare n-D array with domainArrDomainDecl
Assignment ItemsAssignItem
assignment problem 2assignment
assignment problem 2assignment_2
BinOpBinOp
BoolBool
n-D bool array declarationBoolArrDecl
new bool declarationBoolDecl
get boolsboolExpressions
set of bool declarationBoolSetDecl
CallCall
ComprehensionComprehension
Constraint ItemsConstraintItem
Expression (Abstract class - should not be initialized)Expression
delete an expressionexpressionDelete
FloatFloat
n-D float array declarationFloatArrDecl
float declarationFloatDecl
get floatsfloatExpressions
set of float declarationFloatSetDecl
Float set valueFloatSetVal
FloatVal class (not exposed to user)FloatVal
Function ItemsFunctionItem
GeneratorGenerator
get missing parametersget_missing_pars
init all classesgetRModel
initialized type (not exposed to user)getType
helper delete expressionhelperDeleteExpression
helper delete itemhelperDeleteItem
Id class (not exposed to the user)Id
Include ItemsIncludeItem
initExpression (not exposed to the user)initExpression
initialize R6 from parsed (not to be exposed)initItem
IntInt
n-D int array declarationIntArrDecl
int declarationIntDecl
get intsintExpressions
int set declarationIntSetDecl
Integer set valueIntSetVal
IntVal class (not exposed to user)IntVal
IteIte
Item class (Abstract)Item
search item in model and deleteitemDelete
iterate through expressions and delete (Under Development)iterExpression
check all possible items(Under Development)iterItem
knapsack problemknapsack
LetLet
Absolute path of the libminizinc libraryLIBMINIZINC_PATH
magic series problemmagic_series
magic squares problemmagic_square
MiniZinc Model classModel
MiniZinc model evaluationmzn_eval
MiniZinc syntax parsermzn_parse
production planning problemproduction_planning
Absolute path of project directoryPROJECT_DIRECTORY
SetSet
set missing parametersset_params
parse the solutionsol_parse
SolveItemSolveItem
Absolute path of the solver executable directorySOLVER_BIN
StringString
n-D String array declarationStringArrDecl
get stringsstringExpressions
set of string declarationStringSetDecl
Type classType
TypeInstTypeInst
UnOpUnOp
VarDeclVarDecl
The variable declaration itemVarDeclItem
declare 0-D variable with domainVarDomainDecl