{"id":26124722,"url":"https://github.com/ampl/rampl","last_synced_at":"2025-04-13T15:26:24.153Z","repository":{"id":39615038,"uuid":"121163590","full_name":"ampl/rAMPL","owner":"ampl","description":"R API for AMPL","archived":false,"fork":false,"pushed_at":"2025-02-27T17:59:56.000Z","size":952,"stargazers_count":15,"open_issues_count":1,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-27T06:22:33.979Z","etag":null,"topics":["ampl","integer-linear-programming","integer-programming","linear-optimization","linear-programming","milp","mip","mixed-integer-optimization","mixed-integer-programming","modeling-language","nonlinear-optimization","nonlinear-programming","optimization","r","rampl","rlang"],"latest_commit_sha":null,"homepage":"http://rAMPL.ampl.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ampl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-11T20:23:30.000Z","updated_at":"2025-02-27T18:00:00.000Z","dependencies_parsed_at":"2024-10-28T18:28:52.786Z","dependency_job_id":"b2be74cf-4f04-4d95-aba4-3916e9ccf836","html_url":"https://github.com/ampl/rAMPL","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampl%2FrAMPL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampl%2FrAMPL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampl%2FrAMPL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampl%2FrAMPL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ampl","download_url":"https://codeload.github.com/ampl/rAMPL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248734291,"owners_count":21153189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ampl","integer-linear-programming","integer-programming","linear-optimization","linear-programming","milp","mip","mixed-integer-optimization","mixed-integer-programming","modeling-language","nonlinear-optimization","nonlinear-programming","optimization","r","rampl","rlang"],"created_at":"2025-03-10T16:49:57.820Z","updated_at":"2025-04-13T15:26:24.085Z","avatar_url":"https://github.com/ampl.png","language":"C++","readme":"### rAMPL\n\n[![Build Status](https://dev.azure.com/ampldev/rAMPL/_apis/build/status/ampl.rAMPL?branchName=master)](https://dev.azure.com/ampldev/rAMPL/_build/latest?definitionId=10\u0026branchName=master) [![build-and-test](https://github.com/ampl/rAMPL/actions/workflows/build-and-test.yaml/badge.svg)](https://github.com/ampl/rAMPL/actions/workflows/build-and-test.yaml)\n\nAMPL API is an interface that allows developers to access the features of the\nAMPL interpreter from within a programming language. All model generation and\nsolver interaction is handled directly by AMPL, which leads to great stability\nand speed; the library just acts as an intermediary, and the added overhead\n(in terms of memory and CPU usage) depends mostly on how much data is read\nback from AMPL, the size of the model as such is irrelevant. Functions for\ndirectly assigning data to AMPL parameters and sets are provided, which can\nbe used instead of the normal AMPL data reading procedures.  AMPL API has been\nwritten with usability in mind, and it is easy to access its functionalities\nfrom C++, Java, C#, MATLAB, Python, and R.\n\nThe AMPL API can function as an add-on to any existing AMPL installation. If\nyou do not yet have an AMPL installation on the computer where you will be\nworking with the API. Use our [Community Edition](http://ampl.com/ce)\nto download a working version that can be installed quickly.\n\n#### Documentation\n\n- http://rAMPL.readthedocs.io\n\n#### Setup\n\nIn order to install the latest version of the R API you just need to run:\n```\n\u003e install.packages(\"Rcpp\", type=\"source\")\n\u003e install.packages(\"https://ampl.com/dl/API/rAMPL.tar.gz\", repos=NULL)\n```\n\nNote: this package requires R development tools on Windows and macOS, which can be installed as follows:\n* Windows: https://cran.r-project.org/bin/windows/Rtools/\n* macOS: https://cran.r-project.org/bin/macosx/tools/\n* On Linux, this package requires a C++ compiler such as g++.\n\nAlternatively, you can download, build, and install the package locally:\n```\n$ git clone git@github.com:ampl/rAMPL.git\n$ cd rAMPL\n$ python updatelib.py\n$ cd ..\n$ R CMD build rAMPL \n$ R CMD INSTALL rAMPL_\u003cversion\u003e.tar.gz\n```\n\n#### License\n\nBSD-3\n\n***\nCopyright © 2023 AMPL Optimization inc. All rights reserved.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fampl%2Frampl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fampl%2Frampl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fampl%2Frampl/lists"}