Hi, I’m having the next problem:

I want to solve a given optimization problem using a **JuMP** model. In the algorithm that I am using I need to pass the model itself to another function having just the variables and I will construct the model (objective function and constraints) in this function. When I do that in the function I have the model but when I try to access to any variable I get the next Error:

```
>>@show m
m = A JuMP Model
Feasibility problem with:
Variables: 4
`VariableRef`-in-`MathOptInterface.EqualTo{Float64}`: 1 constraint
Model mode: AUTOMATIC
CachingOptimizer state: NO_OPTIMIZER
Solver name: No optimizer attached.
Names registered in the model: l, x, y
>>@show x
UndefVarError: x not defined
```

Can you help me?