(function from pyomo.contrib.gjh.GJH)
pyomo.contrib.gjh.GJH
Build objective gradient and constraint Jacobian from gjh file written by the ASL gjh ‘solver’.
gjh solver may be called using pyomo and ‘keepfiles=True’. Enable ‘symbolic_solver_labels’ as well to write .row and col file to get variable mappings.
fname (string, optional) – gjh file name. The default is None.
g (list) – Current objective gradient.
J (list) – Current objective Jacobian.
H (list) – Current objective Hessian.
variableList (list) – Variables as defined by *.col file.
constraintList (list) – Constraints as defined by *.row file.