Skip to content

Error with ORTools example #96

@hdavid16

Description

@hdavid16

I am trying to create a MiniZinc model that uses ORTools. I tried the following from the README, but got an error. Am I missing something?

julia> import ORTools_jll

julia> path = joinpath(ORTools_jll.artifact_dir, "share", "minizinc", "solvers", "cp-sat.msc")
ERROR: UndefVarError: `artifact_dir` not defined in `ORTools_jll`
Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:42
 [2] top-level scope
   @ REPL[233]:1

pkg> st ORTools_jll
Status `~/Documents/rai-supply-chain-demo/Project.toml`
  [717719f8] ORTools_jll v9.12.0+0

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