JuMPeR installation problem with juliaPro-0.5.1.1

Hello,

I get the following error message when attempting to add the JuMPeR package using juliaPro-0.5.1.1 with the command Pkg.add(“JuMPeR”):

ERROR: unsatisfiable package requirements detected: no feasible version could be found for package: JuMP
in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}) at ./pkg/resolve.jl:37
in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at ./pkg/entry.jl:495
in edit(::Function, ::String, ::Base.Pkg.Types.VersionSet, ::Vararg{Base.Pkg.Types.VersionSet,N}) at ./pkg/entry.jl:30
in (::Base.Pkg.Entry.##2#5{String,Base.Pkg.Types.VersionSet})() at ./task.jl:360
in sync_end() at ./task.jl:311
in macro expansion at ./task.jl:327 [inlined]
in add(::String, ::Base.Pkg.Types.VersionSet) at ./pkg/entry.jl:51
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}})() at ./pkg/dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}}, ::String) at ./file.jl:59
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at ./pkg/dir.jl:31
in add(::String) at ./pkg/pkg.jl:100

Maybe in relation to this error, an attempt to update the JuMP package produces the message:
“Package JuMP was set to version 0.16.0, but a higher version 0.16.1 exists. The update is prevented by explicit requirements constraints. Edit your REQUIRE file to change this.”

Any help on resolving the issue is appreciated. For reference, I am able to add and build other packages such as “CPLEX” with success and my package status report is below. Thanks in advance,

Ayse Nur

Pkg.status()
168 required packages:
 - ASTInterpreter                0.0.4
 - AbstractTrees                 0.0.4
 - ArgParse                      0.4.0
 - Atom                          0.5.9
 - AutoGrad                      0.0.6
 - AutoHashEquals                0.1.1
 - AxisAlgorithms                0.1.6
 - AxisArrays                    0.0.4
 - BinDeps                       0.4.7
 - Blink                         0.5.1
 - Blosc                         0.2.0
 - BusinessDays                  0.6.1
 - COFF                          0.0.2
 - CPLEX                         0.2.4              master
 - CRC                           1.2.0
 - CSV                           0.1.2
 - Calculus                      0.2.0
 - CatIndices                    0.0.2
 - CategoricalArrays             0.1.2
 - Cbc                           0.3.1
 - Clustering                    0.7.0
 - CodeTools                     0.4.3
 - Codecs                        0.3.0
 - ColorTypes                    0.3.4
 - ColorVectorSpace              0.4.0
 - Colors                        0.7.3
 - Combinatorics                 0.3.2
 - Compat                        0.19.0
 - Compose                       0.4.5
 - ComputationalResources        0.0.2
 - Conda                         0.5.1
 - Contour                       0.2.0
 - CoordinateTransformations     0.4.0
 - CustomUnitRanges              0.0.4
 - DBAPI                         0.0.3
 - DSP                           0.1.1
 - DWARF                         0.1.0
 - DataArrays                    0.3.12
 - DataFrames                    0.8.5
 - DataStreams                   0.1.2
 - DataStructures                0.5.3
 - DecFP                         0.1.5
 - DecisionTree                  0.5.1
 - DiffBase                      0.0.4
 - Distances                     0.4.1
 - Distributions                 0.12.1
 - DualNumbers                   0.2.3
 - ELF                           0.1.0
 - EzXML                         0.4.3
 - FFTViews                      0.0.2
 - FileIO                        0.3.0
 - FixedPointNumbers             0.3.4
 - FixedSizeArrays               0.2.5
 - Formatting                    0.2.0
 - ForwardDiff                   0.3.4
 - GLM                           0.6.1
 - GZip                          0.2.20
 - Gadfly                        0.5.3
 - Gallium                       0.0.4
 - Graphics                      0.1.4
 - Gurobi                        0.3.0
 - HDF5                          0.7.3
 - HTTPClient                    0.2.1
 - Hexagons                      0.0.4
 - Hiccup                        0.1.1
 - Homebrew                      0.5.1
 - HttpCommon                    0.2.6
 - HttpParser                    0.2.0
 - HttpServer                    0.1.7
 - HypothesisTests               0.4.0
 - IJulia                        1.4.1
 - ImageAxes                     0.1.1
 - ImageCore                     0.1.4
 - ImageFiltering                0.1.2
 - ImageMetadata                 0.2.1
 - ImageTransformations          0.1.0
 - Images                        0.8.0
 - IndirectArrays                0.1.1
 - Interact                      0.4.3
 - Interpolations                0.3.7
 - IntervalSets                  0.0.3
 - Iterators                     0.3.0
 - JDBC                          0.1.0
 - JLD                           0.6.9
 - JSON                          0.8.3
 - JavaCall                      0.4.2
 - JuMP                          0.16.0
 - JuliaParser                   0.7.4
 - JuliaWebAPI                   0.2.1
 - Juno                          0.2.7
 - KernelDensity                 0.3.2
 - Knet                          0.8.2
 - LNR                           0.0.2
 - LaTeXStrings                  0.2.0
 - Lazy                          0.11.5
 - LegacyStrings                 0.2.0
 - LibCURL                       0.2.1
 - LightGraphs                   0.7.3
 - LightXML                      0.4.0
 - LineSearches                  0.1.5
 - Loess                         0.1.0
 - Logging                       0.3.1
 - MLBase                        0.6.1
 - MNIST                         0.0.2
 - MXNet                         0.2.1
 - MachO                         0.0.4
 - MacroTools                    0.3.6
 - MappedArrays                  0.0.6
 - MathProgBase                  0.6.1
 - MbedTLS                       0.4.3
 - Measures                      0.0.3
 - Media                         0.2.5
 - Mocha                         0.2.0
 - Mustache                      0.1.3
 - Mux                           0.2.3
 - NaNMath                       0.2.2
 - NearestNeighbors              0.2.0
 - Nettle                        0.3.0
 - NullableArrays                0.1.0
 - ODBC                          0.5.1
 - ObjFileBase                   0.0.4
 - OffsetArrays                  0.2.14
 - Optim                         0.7.7
 - PDMats                        0.5.6
 - Parameters                    0.6.0
 - ParserCombinator              1.7.11
 - PolynomialFactors             0.0.3
 - Polynomials                   0.1.3
 - PositiveFactorizations        0.0.4
 - Primes                        0.1.2
 - ProtoBuf                      0.3.2
 - PyCall                        1.10.0
 - PyPlot                        2.3.1
 - QuadGK                        0.1.1
 - QuantEcon                     0.9.0
 - RCall                         0.6.4
 - RangeArrays                   0.1.2
 - Ratios                        0.0.4
 - Reactive                      0.3.7
 - Reexport                      0.0.3
 - Requests                      0.4.1
 - Requires                      0.3.0
 - ReverseDiffSparse             0.7.1
 - Rmath                         0.1.6
 - Roots                         0.3.0
 - Rotations                     0.3.5
 - SHA                           0.3.2
 - SIUnits                       0.1.0
 - ScikitLearnBase               0.2.2
 - ShowItLikeYouBuildIt          0.0.1
 - Showoff                       0.0.7
 - SimpleTraits                  0.3.0
 - SortingAlgorithms             0.1.0
 - SpecialFunctions              0.1.1
 - StaticArrays                  0.3.0
 - StatsBase                     0.13.1
 - StatsFuns                     0.4.0
 - StructIO                      0.0.2
 - TerminalUI                    0.0.2
 - TexExtensions                 0.0.3
 - TextWrap                      0.1.6
 - TiledIteration                0.0.2
 - URIParser                     0.1.8
 - VT100                         0.1.0
 - WeakRefStrings                0.2.0
 - WebSockets                    0.2.1
 - WoodburyMatrices              0.2.2
 - ZMQ                           0.4.1
2 additional packages:
 - BufferedStreams               0.3.2
 - Libz                          0.2.4

JuMPeR does not have any released versions compatible with JuMP 0.16 at the moment. See https://github.com/IainNZ/JuMPeR.jl/pull/74.

You can manually edit the file at Pkg.dir("REQUIRE") but note that doing so means your JuliaPro package versions will not match the supported set.

https://github.com/IainNZ/JuMPeR.jl/issues/78 points out that we can change JuMPeR to make it compatible with JuMP v0.16. Could anyone please point me to the modifications that need to be done along with the steps to be followed after making the required modifications to JuMPeR?

It looks like JuMPeR works with JuMP 0.18 on Julia 1.0.

Try

mkdir("/path/to/tmp/jumper/project")
cd("/path/to/tmp/jumper/project")
] activate .
] add JuMP@0.18
] add JuMPeR

but replace "/path/to/tmp/jumper/project" with an appropriate path.