Skip to content

Does Ipopt has a C routine to return the version? #824

@amontoison

Description

@amontoison

It seems that Ipopt doesn't have a C routine that returns its version.

It would be great to have a function that returns the version either as a string or as the three integers (major, minor, patch).

I was looking for this feature in the Julia interface Ipopt.jl, where we might want to query the version of the optimization solver, but the C++ code doesn't expose any such routine.

Not a critical feature, but still useful for verifying the library version of a precompiled library (libipopt.so / libipopt.dylib / libipopt.dll).

Off-topic: I added a routine that returns the version of each HSL linear solver in libHSL if you want to display it like MUMPS. We should probably also do that with SPRAL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions