From 830f8a513b368c1d6a6fee0ff24c7bed7ecd6253 Mon Sep 17 00:00:00 2001 From: Jurgen Lentz Date: Sat, 19 Oct 2024 00:35:28 +0200 Subject: [PATCH] add pxd --- amplpy/ampl.pxd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/amplpy/ampl.pxd b/amplpy/ampl.pxd index 7bdd0be..5bff8e1 100644 --- a/amplpy/ampl.pxd +++ b/amplpy/ampl.pxd @@ -509,6 +509,10 @@ cdef extern from "ampl/ampl_c.h": AMPL_ERRORINFO* AMPL_ParameterSetSomeArgsValues(AMPL* ampl, const char* name, size_t size, AMPL_TUPLE** index, AMPL_ARGS* args) + AMPL_ERRORINFO *AMPL_ParameterSetSomeStringValues(AMPL *ampl, const char *name, size_t size, AMPL_TUPLE **index, char **str_values) + + AMPL_ERRORINFO *AMPL_ParameterSetSomeDoubleValues(AMPL *ampl, const char *name, size_t size, AMPL_TUPLE **index, double *dbl_values) + AMPL_ERRORINFO* AMPL_VariableGetValue(AMPL* ampl, const char* name, double* value) AMPL_ERRORINFO* AMPL_VariableFix(AMPL* ampl, const char* name)