Skip to content

Commit

Permalink
Adding KN_load_param_file
Browse files Browse the repository at this point in the history
  • Loading branch information
jgillis committed Apr 17, 2023
1 parent f66a391 commit 785e423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions knitro/include/knitro.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ int KNITRO_API KN_set_var_types_all (KN_context_ptr, const int * const);
int KNITRO_API KN_set_var_upbnds_all (KN_context_ptr, const double * const);
int KNITRO_API KN_solve (KN_context_ptr);
int KNITRO_API KN_set_int_param_by_name(KN_context_ptr, const char * const, const int value);
int KNITRO_API KN_load_param_file(KN_context_ptr, const char * const);


#define KN_INFINITY DBL_MAX
Expand Down
1 change: 1 addition & 0 deletions knitro/src/knitro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ int KNITRO_API KN_set_var_types_all (KN_context_ptr, const int * const) { retur
int KNITRO_API KN_set_var_upbnds_all (KN_context_ptr, const double * const) { return 0; }
int KNITRO_API KN_solve (KN_context_ptr) { return 0; }
int KNITRO_API KN_set_int_param_by_name(KN_context_ptr, const char * const, const int value) { return 0; }
int KNITRO_API KN_load_param_file(KN_context_ptr, const char * const) { return 0; }

0 comments on commit 785e423

Please sign in to comment.