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

MathOptInterface not defined #2546

Closed
LD-FW opened this issue Sep 11, 2024 · 1 comment
Closed

MathOptInterface not defined #2546

LD-FW opened this issue Sep 11, 2024 · 1 comment

Comments

@LD-FW
Copy link

LD-FW commented Sep 11, 2024

I am trying to implement the project found at
https://github.com/TILOS-AI-Institute/HypergraphPartitioning/tree/main/SpecPart
, but I am encountering some issues.
When I execute the command julia> include("SpecPart/SpectralRefinement.jl"), I receive the following error:
ERROR: LoadError: UndefVarError: MathOptInterface not defined
Stacktrace:
[1] include(mod::Module, _path::String)
@ Base ./Base.jl:495
[2] include(x::String)
@ Main.SpectralRefinement ~/Documents/HypergraphPartition/SpecPart/SpectralRefinement.jl:1
[3] top-level scope
@ ~/Documents/HypergraphPartition/SpecPart/SpectralRefinement.jl:23
[4] include(fname::String)
@ Base.MainInclude ./client.jl:489
[5] top-level scope
@ REPL[2]:1
in expression starting at /home/fw23/Documents/HypergraphPartition/SpecPart/PartitionILP.jl:3
in expression starting at /home/fw23/Documents/HypergraphPartition/SpecPart/SpectralRefinement.jl:1

I checked the installed packages using Pkg.status(), and I found the package [b8f27783] MathOptInterface v1.31.2 installed.
Additionally, I tried adding using MathOptInterface and import MathOptInterface at the beginning of both PartitionILP.jl and SpectralRefinement.jl, but I still get the same error.
1

@odow
Copy link
Member

odow commented Sep 11, 2024

Closing because this is not an issue in MathOptInterface.

This is a bug in TILOS-AI-Institute/HypergraphPartitioning#11

Let's discuss over there. You should just be able to make the same local changes as my PR.

@odow odow closed this as completed Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants