Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 763 Bytes

README.rst

File metadata and controls

32 lines (23 loc) · 763 Bytes

gjh_asl_json

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

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
>>> import json
>>> with open('stub.json') as f:
>>>    gjh = json.load(f)