Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Feb 24, 2007
Messages
1
Location
GB
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

Back
Top