# f(t+1) in JuMP

**URL:** https://discourse.julialang.org/t/f-t-1-in-jump/11241
**Category:** Optimization (Mathematical)
**Tags:** question, jump
**Created:** [May 29, 2018, 4:12pm UTC](https://discourse.julialang.org/t/f-t-1-in-jump/11241 "2018-05-29T16:12:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![NiclasMattsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/niclasmattsson/32/21988_2.png) [@NiclasMattsson](https://discourse.julialang.org/u/NiclasMattsson)
#### Post date: [May 29, 2018, 4:55pm UTC](https://discourse.julialang.org/t/f-t-1-in-jump/11241/2 "2018-05-29T16:55:41Z")

</div>

You have not posted enough information for us to answer your question. For example, the way to write f(t+1) in Julia is usually as a function call, i.e. `f(t+1)`. However, in a JuMP model with discrete variables you may want an array reference like `variablename[t+1]`. Or it could be other things depending on your code.

So if you want help, please include a small but relevant section of your code. And please format your code using backticks, [like this](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530).

---

_[View the full topic](https://discourse.julialang.org/t/f-t-1-in-jump/11241)._
