Hello guy,
Your "question" looks like a modeling math problem, ...and is not related to SAGE.
I wouln't try to solve "quadratic" problem using "linear" solvers : LP means "Linear Programming"
for definition of LP, read
http://www.sagemath.org/doc/reference/numerical/sage/numerical/mip.htmlmore over : "CVXOPT" is short word for ConVeX OPTimization.
At first sight, it looks like you want to maximize a no-concave function..and such a problem has sometimes no finite solution...
if (for example)
t2 = -0.5 t1 => 0.1t1 + 0.2t2 = 0 <= 1
f2 = -0.5 f1 => 2f1 + 4f2 = 0 <= 0.5
then
t1.f1 + t2.f2 + 0.5f1 + 0.3f2 = t1.f1 + 2.5t1.f1 + 0.5f1 -0.15f1 = 3.5t1f1 + 0.35f1
so when (for example) f1 = 1.0 you can find f1 very large positive to get t1.f1 + t2.f2 + 0.5f1 + 0.3f2 > N whatever N value you choose.
Dominique.