[julia-users] Optimal Control using Dynamic Programming

2015-09-24 Thread Narayani Vedam
Hi, I am new to Julia. I need to solve an optimal control problem using dynamic programming. Are there pre-defined functions/packages that I could use? Thanks.

[julia-users] Stateflow equivalent in Julia

2015-09-24 Thread Narayani Vedam
Hi, I am new to Julia. I tried implementing a logic that I had in Simulink - Stateflow using Julia, but ran into trouble. Any heads-up on this? Thank you

[julia-users] Re: Optimal Control using Dynamic Programming

2015-09-25 Thread Narayani Vedam
lem? > > How do you want to describe the system, that you want to control? > Is it a linear system? > > Uwe > > Am Freitag, 25. September 2015 07:25:19 UTC+2 schrieb Narayani Vedam: >> >> Hi, >> I am new to Julia. I need to solve an optimal control prob

Re: [julia-users] Re: Optimal Control using Dynamic Programming

2015-09-25 Thread Narayani Vedam
Thank you for your inputs. My concern was about calculating the cost to go map. I have discretized the state space and have 61 possible states in each stages and there are 20 such stages. That roughly amounts to 61*61 values for one stage. I am overwhelmed by the amount of computations that this w

Re: [julia-users] Re: Optimal Control using Dynamic Programming

2015-09-25 Thread Narayani Vedam
I have 3 states and two inputs. State 1 is [10:1:20], state 2 is [85:0.2:95] and state 3 is [1:1:12]. The two inputs are [0 1] and [-1 0]. On Sep 25, 2015 1:00 PM, "Tony Kelman" wrote: > If you want an uninitialized 61-by-61 array of double precision floating > point numbers you can do Array(61,

Re: [julia-users] Stateflow equivalent in Julia

2015-09-25 Thread Narayani Vedam
position(gear), engine rpm(N) and transmission ratio(i_t) as variables >> and have added the necessary constraints as well. However, on trying to run >> it, I kept getting an error: >> >> >> The comparison operator == has been deprecated for constructing constraints. >> Use the macro form @addConstraint instead. >> >> >> LoadError: TypeError: non-boolean >> (JuMP.GenericRangeConstraint{JuMP.GenericAffExpr{Float64,JuMP.Variable}}) >> used in boolean context >> while loading In[2], in expression starting on line 30 >> >> in anonymous at no file >> >> >> On Friday, 25 September 2015 08:18:53 UTC-5, Spencer Russell wrote: >>> >>> Welcome to Julia! >>> >>> To get useful answers you’re going to need to provide quite a bit more >>> detail on what problems you’re running into. What did you try? What errors >>> are you getting? Are there specific concepts from the documentation that >>> you’re having trouble with? >>> >>> -s >>> >>> > On Sep 25, 2015, at 1:18 AM, Narayani Vedam >>> wrote: >>> > >>> > Hi, >>> >I am new to Julia. I tried implementing a logic that I had in >>> Simulink - Stateflow using Julia, but ran into trouble. Any heads-up on >>> this? >>> > >>> > Thank you >>> >>>