From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I give some weight to "start" of constrained non-linear optimization.vi

Hello? I'm trying to make optimization program.

 

If there is a function f(a,b,c), I'd like to control the "weight" of variable a, b, and c.

For example, my vi optimizes the function by varying the variable. However, it sometimes optimizes the function by varying the a only even though the function was not optimized.

I think that, if I assign weights to variables that does not change well, it will change.

 

Thank you.

0 Kudos
Message 1 of 2
(2,078 Views)

@getdlts wrote:

 

I think that, if I assign weights to variables that does not change well, it will change.


Why would you think that?

 

It is much more likely that your problem is ill conditioned, that some variables are highly correlated, or that your initial parameters are not properly selected..

 

Can you tell us more about the function and what you are trying to do? Maybe attach some code.

0 Kudos
Message 2 of 2
(2,050 Views)