Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libknitro.jl for KNITRO 14 #285

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Conversation

amontoison
Copy link
Collaborator

@odow
I don't see breaking changes, just new Julia wrappers.

const KN_MIP_MIR_TREE = 1
const KN_MIP_MIR_ROOT = 1

const KN_MIP_MIR_TREE = 2

const KN_MIP_MIR_NLP = 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you double check the header file for these?

It looks like KN_MIP_MIR_ has elements of -1, 0, 1, 2, and 2.

From https://www.artelys.com/app/docs/knitro/3_referenceManual/userOptions.html

image

It looks like KN_MIP_MIR_NLP doesn't exist

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The content of the header is:

#define KN_PARAM_MIP_MIR              2037  /*-- MIR CUTS */
#  define KN_MIP_MIR_AUTO               -1
#  define KN_MIP_MIR_NONE                0  /*--   NONE */
#  define KN_MIP_MIR_ROOT                1  /*--   IN THE ROOT */
#  define KN_MIP_MIR_TREE                2  /*--   IN THE WHOLE TREE */
#  define KN_MIP_MIR_NLP                 2  /*--   DEPRECATED*/

src/libknitro.jl Outdated Show resolved Hide resolved
@odow odow merged commit c5b2809 into jump-dev:master Mar 12, 2024
1 of 4 checks passed
@amontoison amontoison deleted the knitro14 branch March 12, 2024 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants