can we create other function to call the constraint function or create gradient of constraint function without input directly from other source in fmincon?
    5 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Chantrea Lean
 il 27 Mag 2015
  
    
    
    
    
    Commentato: Chantrea Lean
 il 27 Mag 2015
            Dear sir,
I have worked with fmincon when i try to input the gradient of constraint function it's okay when it was small problem but if in the big problem case, can we create other function to call the gradient of constraint function by no need to input it manually ?
thank you sir,i am sorry if make you difficult to understand with my poor english.
Best Regards!
0 Commenti
Risposta accettata
  Walter Roberson
      
      
 il 27 Mag 2015
        When you use matlabFunction() to create your gradient from symbolic form, tell matlabFunction to write the result to a file. See Write Generated MATLAB Function to File
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Linear Least Squares in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!