Community Profile

photo

Gustavo Lunardon


Last seen: 6 dagar ago Active since 2020

Statistics

  • Thankful Level 2
  • First Answer
  • First Review

View badges

Content Feed

View by

Question


Optimization: Reuse calculations from objective function in nonlinear constraints function
Hello, Is it possible to reuse calculations from one function in the other to save computational effort? Example: functio...

ungefär 2 månader ago | 2 answers | 0

2

answers

Question


Nonlinear constraint on optimization using ODE - system state involved
Hello, I need to incorporate a nonlinear constraint on my optimization problem but there is a ODE involved. The constraint in...

ungefär 2 månader ago | 1 answer | 0

1

answer

Question


Bug in equality checks? 28.15e-3 == 28.15/1000 false
Why does this happen? It does not regocnize equality on 7.48e-3 == 7.48/1000, but it does on 7.47e-3 == 7.47/1000 as well. Anoth...

12 månader ago | 2 answers | 0

2

answers

Answered
Producing a NaN only where there is a NaN, zero otherwise
Added as an answer rather than a comment now X = [-inf, -1, -eps, 0, realmin, 2, 1+i, pi, flintmax, realmax, inf, NaN]; brok...

mer än ett år ago | 3

Question


ODE Event - Terminal
Hello. I have a problem with my ode event. I want it to stop integration if one of the variables to be integrated is a complex n...

ungefär 2 år ago | 0 answers | 0

0

answers

Answered
how to stop ode45 when one of states reach certain value
This is confusing. In matlab help it says: An event occurs when value(i) is equal to zero. All answers in this post make it val...

ungefär 2 år ago | 0