Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ghackebeil/gjh_asl_json


https://github.com/ghackebeil/gjh_asl_json

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

gjh_asl_json
============

.. image:: https://travis-ci.org/ghackebeil/gjh_asl_json.svg?branch=master
:target: https://travis-ci.org/ghackebeil/gjh_asl_json

.. image:: https://codecov.io/gh/ghackebeil/gjh_asl_json/branch/master/graph/badge.svg
:target: https://codecov.io/gh/ghackebeil/gjh_asl_json

A simple tool providing similar functionality to that of the gjh
"solver" distributed with the AMPL Solver Library. NLP information
is summarized in a JSON-formatted output file.

Installation
~~~~~~~~~~~~

1. $ cd Thirdparty/
2. $ ./get.ASL
3. $ cd ..
4. $ make

Usage
~~~~~

1. $ gjh_asl_json stub.nl rows=stub.row cols=stub.col
2. $ python

.. code-block:: pycon

>>> import json
>>> with open('stub.json') as f:
>>> gjh = json.load(f)