Skip to content

Commit f93501c

Browse files
authored
Merge pull request #3529 from mrmundt/ampl-links
Preemptively fix 404 AMPL links
2 parents f55b042 + 51a89fc commit f93501c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pyomo/contrib/gjh/getGJH.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
logger = logging.getLogger('pyomo.common')
1919

2020
# These URLs were retrieved from
21-
# https://ampl.com/resources/hooking-your-solver-to-ampl/
21+
# https://dev.ampl.com/more/reports.html#hooking-solvers-to-ampl
2222
# All 32-bit downloads are used - 64-bit is available only for Linux
2323
urlmap = {
2424
'linux': 'https://netlib.org/ampl/student/linux/gjh.gz',

pyomo/core/base/external.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ def gradient_or_hessian(args, fixed=None): List[float]
128128
**ASL function libraries** (:class:`AMPLExternalFunction` interface)
129129
130130
Pyomo can also call functions compiled as part of an AMPL
131-
External Function library (see the `User-defined functions
132-
<https://www.ampl.com/REFS/HOOKING/#userdefinedfuncs>`_ section
131+
External Function library (see the `Imported functions` section
133132
in the `Hooking your solver to AMPL
134133
<https://www.ampl.com/REFS/hooking3.pdf>`_ report). Links to
135134
these functions are declared by creating an

0 commit comments

Comments
 (0)