# Is it possible to split a project in two?

**URL:** <https://discourse.julialang.org/t/is-it-possible-to-split-a-project-in-two/59214>\
**Category:** Performance\
**Tags:** question\
**Created:** [April 13, 2021, 4:12pm UTC](https://discourse.julialang.org/t/is-it-possible-to-split-a-project-in-two/59214 "2021-04-13T16:12:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RaquelSantos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raquelsantos/32/3668_2.png) [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Post date:** [April 13, 2021, 4:12pm UTC](https://discourse.julialang.org/t/is-it-possible-to-split-a-project-in-two/59214/1 "2021-04-13T16:12:13Z")

</div>

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!!

---

<div class="post-metadata">

**Author:** ![vavrines](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vavrines/32/8024_2.png) [@vavrines](https://discourse.julialang.org/u/vavrines)\
**Post date:** [April 13, 2021, 4:16pm UTC](https://discourse.julialang.org/t/is-it-possible-to-split-a-project-in-two/59214/2 "2021-04-13T16:16:31Z")

</div>

You may use one as code base,  
and use Reexport.jl to export and expand the methods in another.

---

<div class="post-metadata">

**Author:** ![RaquelSantos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raquelsantos/32/3668_2.png) [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Post date:** [April 28, 2021, 3:18pm UTC](https://discourse.julialang.org/t/is-it-possible-to-split-a-project-in-two/59214/3 "2021-04-28T15:18:55Z")

</div>

Hello @vavrines , thanks for the suggestion  
This is the model I want to leave one as a code base

```julia
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?
