Optimisation error_constraint
Mostra commenti meno recenti
Dear all,
When i use constraint which is defined as output in the function , no error, but when i use input variables in function it shows below error ,
Constraints must be an OptimizationConstraint or a struct containing OptimizationConstraints.what coudl be the reason
Please help the format
Code used is
prob.Constraints.data = price >=0;
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Problem-Based Optimization Setup in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!