What I want to do is this: I want to have the same project in two environments. In one environment I would only have names that functioned as calls for the model to compile and in the other environment I would have the code written
Thanks!!
What I want to do is this: I want to have the same project in two environments. In one environment I would only have names that functioned as calls for the model to compile and in the other environment I would have the code written
Thanks!!
You may use one as code base,
and use Reexport.jl to export and expand the methods in another.
Hello @vavrines , thanks for the suggestion
This is the model I want to leave one as a code base
using JuMP, GLPK, GLPKMathProgInterface
ModelD = Model(GLPK.Optimizer)
t = 1:4
w = 1:2
l = 1:4
T = t
W = w
L = l
@variable(ModelD,eh[L,T,W]>=0)
for w = 1:2, l = 1:4, t = 1:4
if 4 < 18
h3 = @constraint(ModelD,eh[l,t,w] <= eh[l,t,w])
println(h3)
end
end
I’m trying to do exactly what you said, but I still haven’t been able to use the command. I read some things on the internet but I didn’t find any example that would help me with what I need. Can you help me?