<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi </FONT></DIV>
<DIV><FONT face=Arial size=2>I want to use Galib to optimize portfolio holding. 
the problem can be viewed as</FONT></DIV>
<DIV><FONT face=Arial size=2>try to minimize or maximize function 
f(x1,x2,x3,..xn)</FONT></DIV>
<DIV><FONT face=Arial size=2>with condition x1+x2+x3+x4...+xn=1</FONT></DIV>
<DIV><FONT face=Arial size=2>and 0&lt;xi&lt;1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I guess this problem is quite general and I find 
some example about maximize a function.</FONT></DIV>
<DIV><FONT face=Arial size=2>problem is the x1+x2+x3+x4..+xn=1 condition, what 
kind of modification I need to do</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>your help is highly appreciated</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Hongfei Xi</FONT></DIV></BODY></HTML>