Skip to content

Commit

Permalink
take out amply, added it to plugins page. (coin-or#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
pchtsp authored Feb 12, 2021
1 parent b965b82 commit d857a18
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 599 deletions.
13 changes: 13 additions & 0 deletions doc/source/plugins/amply.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
amply: AMPL data manipulation
===========================================

Amply allows you to load and manipulate AMPL data as Python data structures.

Amply only supports a specific subset of the AMPL syntax:

* set declarations
* set data statements
* parameter declarations
* parameter data statements

site: https://github.com/willu47/amply/
1 change: 1 addition & 0 deletions doc/source/plugins/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@

orloge
pytups
amply
1 change: 0 additions & 1 deletion pulp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
from .constants import VERSION

from .pulp import *
from amply import *
from .apis import *
from .utilities import *
from .constants import *
Expand Down
5 changes: 1 addition & 4 deletions pulp/tests/run_tests.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
import pulp
from pulp.tests import test_amply, test_pulp, test_examples
from pulp.tests import test_pulp, test_examples

def pulpTestAll(test_docs=False):
runner = unittest.TextTestRunner()
Expand All @@ -15,9 +15,6 @@ def get_test_suit(test_docs=False):
loader = unittest.TestLoader()
# we get suite with all PuLP tests
suite_all = test_pulp.suite()
# we add Amply tests to the suite
amply = loader.loadTestsFromTestCase(test_amply.AmplyTest)
suite_all.addTests(amply)
# We add examples and docs tests
if test_docs:
docs_examples = loader.loadTestsFromTestCase(test_examples.Examples_DocsTests)
Expand Down
Loading

0 comments on commit d857a18

Please sign in to comment.