Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting variable bounds

Status
Not open for further replies.

Aouda4

Electrical
Feb 24, 2007
1
Hi,

I have been trying to find the solution to a nonlinear programming problem using the quadprog function. However, there is a boundary on my result so that it can only be from 0 to 1. The quadprog has limits on the function itself but not the variables in the function.

Simply, I just want to set bounds on a variable so that it can have only values from 0 to 1.

Can anyone help?

Katrina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor