<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Numerical Optimization Forum - Support]]></title>
		<link>http://forum.openopt.org/index.php</link>
		<description><![CDATA[The most recent topics at Numerical Optimization Forum.]]></description>
		<lastBuildDate>Mon, 15 Aug 2011 20:03:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[problem with interalg]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=445&amp;action=new</link>
			<description><![CDATA[<p>Hi,</p><p>I am experiencing an error trying to use the interalg functionality.</p><p>System:<br /></p><ul><li><p>OpenOpt 0.34</p></li><li><p>Windows 7 </p></li><li><p>Enthought Python 7.1-1</p></li></ul><p>I ran exactGlobalNLP.py and got the following traceback:</p><div class="codebox"><pre><code>------------------------- OpenOpt 0.34 -------------------------
solver: interalg_0.21   problem: unnamed    type: GLP
 iter   objFunVal   
    0  1.163e+02 
Traceback (most recent call last):
  File &quot;C:\Users\breisfel\Documents\Programming\python\exactGlobalNLP.py&quot;, line 34, in &lt;module&gt;
    r = p.minimize(solver)
  File &quot;C:\Python27\lib\site-packages\openopt-0.34-py2.7.egg\openopt\kernel\baseProblem.py&quot;, line 196, in &lt;lambda&gt;
    self.minimize = lambda *args, **kwargs: minimize(self, *args, **kwargs)
  File &quot;C:\Python27\lib\site-packages\openopt-0.34-py2.7.egg\openopt\kernel\baseProblem.py&quot;, line 774, in minimize
    return runProbSolver(p, *args, **kwargs)
  File &quot;C:\Python27\lib\site-packages\openopt-0.34-py2.7.egg\openopt\kernel\runProbSolver.py&quot;, line 238, in runProbSolver
    solver(p)
  File &quot;C:\Python27\lib\site-packages\openopt-0.34-py2.7.egg\openopt\solvers\UkrOpt\interalg_oo.py&quot;, line 225, in __solver__
    C = p._FD.nonBoxConsWithTolShift
AttributeError: EmptyClass instance has no attribute &#039;nonBoxConsWithTolShift&#039;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (cytochrome)]]></author>
			<pubDate>Mon, 15 Aug 2011 20:03:46 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=445&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[OpenOpt for non linear problems]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=440&amp;action=new</link>
			<description><![CDATA[<p>Hello,</p><p>My name is Guillaume BENOIT from EDF Research and Development and I&#039;m trying to use openopt for internal studies.<br />I&#039;m using Python 2.6 and I&#039;ve installed the latest release available (whole suit).<br />I&#039;m need to maximise function Psi (4 variables : alpha, a0, a1 and b1). Here is the following code :</p><p>###################################################</p><p>&nbsp; &nbsp; j = Taille-1&nbsp; &nbsp; # actually ThetaSto is an existing array correctly defined (12775x1)</p><p>&nbsp; &nbsp; Psi = lambda alpha, a0, a1, b1: math.log(stats.norm.pdf(ThetaSto[j],ThetaSto[j]*math.exp(-alpha),\<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(a0 + a1*math.cos(2*pi*j/365) + b1*math.sin(2*pi*j/365))*\<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; math.sqrt((1-math.exp(-2*alpha))/(2*alpha)))).sum()</p><p>&nbsp; &nbsp; # parameters estimation <br />&nbsp; &nbsp; alpha0 = 0.2<br />&nbsp; &nbsp; a00 = 2<br />&nbsp; &nbsp; a10 = 0.2<br />&nbsp; &nbsp; b10 = 0.1<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; StartPoint = np.array([alpha0, a00, a10, b10]) </p><p>&nbsp; &nbsp; p = NLP(Psi, StartPoint)&nbsp; </p><p>&nbsp; &nbsp; r = p.solve(&#039;ralg&#039;)</p><p>##############################################################</p><p>I always get this error message :</p><br /><p>&nbsp; File &quot;c:\python26\lib\site-packages\openopt-0.34-py2.6.egg\openopt\kernel\ooMisc.py&quot;, line 200, in setNonLinFuncsNumber<br />&nbsp; &nbsp; setattr(p, &#039;n&#039;+userFunctionType, asfarray(FV(*(X, ) + args, **kwargs)).size)<br />TypeError: &lt;lambda&gt;() takes exactly 4 arguments (1 given)</p><br /><p>Do you have any idea of the origin of the problem ?</p><p>Thank you in advance for your help.</p><p>Regards, </p><p>Guillaume</p>]]></description>
			<author><![CDATA[dummy@example.com (Dmitrey)]]></author>
			<pubDate>Fri, 12 Aug 2011 09:05:37 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=440&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Problem with problem, galileo and de]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=441&amp;action=new</link>
			<description><![CDATA[<p>Hi, I&#039;m trying to use openopt, but find lots of bugs, and when I resolve one, or find some kind of workaround, then next I just find next one.</p><p>Here is simple model, in which I try to fit some parameters to experimental data, essentially using least-square model + additional parameter, making it non-linear. It is here presented as one in 3 variables (original have about Zmiennych=200 + 1 for K), but error is the same.</p><div class="codebox"><pre><code>from openopt import GLP, oosolver
from FuncDesigner import *

from numpy import zeros, ones

#K_ = oovars(1)
#K = K_[0]
K = oovar(size=1)
A0 = 2.0e-6
B0 = 5.0e-6

Zmiennych = 2

Theta_DNA = zeros(Zmiennych) # , int/float)
Theta_YY1 = zeros(Zmiennych)
Theta_Total = zeros(Zmiennych)
Theta_DNA_YY1 = oovar(size=Zmiennych)

for i in range(Zmiennych):
    Theta_YY1[i] = 4.5
    Theta_DNA[i] = 8.7
    Theta_Total[i] = 4.1


S_AB = 0.5*(A0 + B0 + K*1.0e-6 - sqrt( (A0 + B0 + K*1.0e-6)**2 - 4.0*A0*B0 ) )
S_A = (A0 - S_AB)
S_B = (B0 - S_AB)

Roznice = 1.0e-3*(S_A*Theta_DNA + S_B*Theta_YY1 + S_AB*Theta_DNA_YY1) - Theta_Total

f = Roznice[0]**2 + Roznice[1]**2
#f = sum(Roznice**2)

constraints = [0 &lt; K, K &lt; 1000]     # Was trying to use &lt;=, but it doesn&#039;t help
for i in xrange(Zmiennych):
    constraints.extend([-1.0e6 &lt;= Theta_DNA_YY1[i], Theta_DNA_YY1[i] &lt;= 1.0e6])

startPoint = {K: 0.32, Theta_DNA_YY1: ones(Zmiennych)}

p = GLP(f, startPoint, constraints=constraints)

#solver = oosolver(&#039;de&#039;)
solver = oosolver(&#039;galileo&#039;)

r = p.solve(solver, plot=1)</code></pre></div><p>Using de, I got</p><div class="codebox"><pre><code>FuncDesigner warning: Probably scipy installation could speed up running the code involved

------------------------- OpenOpt 0.34 -------------------------
solver: de   problem: unnamed    type: GLP
 iter   objFunVal   log10(maxResidual)   
    0  3.362e+01            -100.00 
OpenOpt Error: this solver requires finite lb, ub: lb &lt;= x &lt;= ub
Traceback (most recent call last):
  File &quot;./bug2.py&quot;, line 47, in &lt;module&gt;
    r = p.solve(solver, plot=1)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/kernel/baseProblem.py&quot;, line 235, in solve
    return runProbSolver(self, *args, **kwargs)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/kernel/runProbSolver.py&quot;, line 238, in runProbSolver
    solver(p)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/solvers/UkrOpt/de_oo.py&quot;, line 74, in __solver__
    if not p.__isFiniteBoxBounded__(): p.err(&#039;this solver requires finite lb, ub: lb &lt;= x &lt;= ub&#039;)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/kernel/oologfcn.py&quot;, line 16, in ooerr
    raise OpenOptException(msg)
oologfcn.OpenOptException: this solver requires finite lb, ub: lb &lt;= x &lt;= ub</code></pre></div><p>and one using galileo</p><div class="codebox"><pre><code>FuncDesigner warning: Probably scipy installation could speed up running the code involved

------------------------- OpenOpt 0.34 -------------------------
solver: galileo   problem: unnamed    type: GLP
OpenOpt Error: the solver galileo cannot handle &#039;A&#039; data
Traceback (most recent call last):
  File &quot;./bug2.py&quot;, line 47, in &lt;module&gt;
    r = p.solve(solver, plot=1)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/kernel/baseProblem.py&quot;, line 235, in solve
    return runProbSolver(self, *args, **kwargs)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/kernel/runProbSolver.py&quot;, line 219, in runProbSolver
    nErr = check(p)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/kernel/check.py&quot;, line 19, in check
    p.err(&#039;the solver &#039; + p.solver.__name__ + &#039; cannot handle &#039; + &quot;&#039;&quot; + fn + &quot;&#039; data&quot;)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/kernel/oologfcn.py&quot;, line 16, in ooerr
    raise OpenOptException(msg)
oologfcn.OpenOptException: the solver galileo cannot handle &#039;A&#039; data</code></pre></div><p>With interalg,</p><div class="codebox"><pre><code>FuncDesigner warning: Probably scipy installation could speed up running the code involved

------------------------- OpenOpt 0.34 -------------------------
solver: interalg_0.21   problem: unnamed    type: GLP
 iter   objFunVal   log10(maxResidual)   
    0  3.362e+01            -100.00 
OpenOpt Error: 
            solver interalg_0.21 requires finite lb, ub: 
            lb &lt;= x &lt;= ub 
            (you can use &quot;implicitBoounds&quot;)
            
Traceback (most recent call last):
  File &quot;./bug2.py&quot;, line 48, in &lt;module&gt;
    r = p.solve(solver, plot=1)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/kernel/baseProblem.py&quot;, line 235, in solve
    return runProbSolver(self, *args, **kwargs)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/kernel/runProbSolver.py&quot;, line 238, in runProbSolver
    solver(p)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/solvers/UkrOpt/interalg_oo.py&quot;, line 46, in __solver__
    &#039;&#039;&#039; % self.__name__)
  File &quot;/usr/local/lib/python2.6/dist-packages/openopt-0.34-py2.6.egg/openopt/kernel/oologfcn.py&quot;, line 16, in ooerr
    raise OpenOptException(msg)
oologfcn.OpenOptException: 
            solver interalg_0.21 requires finite lb, ub: 
            lb &lt;= x &lt;= ub 
            (you can use &quot;implicitBoounds&quot;)</code></pre></div><p>I really do not understand what is going on in both cases. Name (even automatically created) for which data, variable is a problem would be helpful. In first case, I given all constrains, being finite. In second case, I have no idea what solver is asking me about &#039;A&#039; data.</p><p>I&#039;m fighting with this for more than a week, without success. Was trying to use oovar or oovars, in multiple combinations, but then other problems arises. Help will be appreciated. Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (Dmitrey)]]></author>
			<pubDate>Thu, 11 Aug 2011 05:23:26 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=441&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Few discovered Bugs]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=437&amp;action=new</link>
			<description><![CDATA[<p>Hi,</p><p>I was experimenting with OpenOpt, and discovered multiple problems.</p><p>PROBLEM 1.</p><div class="codebox"><pre><code>K = oovars(1)
Z = (2*K)**2</code></pre></div><p>I know oovars(1) is an array, but it should work, however Z expression (second line) loops infinitely.</p><p>PROBLEM 2.</p><p>Another, problem, is that in constrains for example to interalg, I cannot use&nbsp; -1 &lt; x &lt; -1, but need to use two separate conditions -1 &lt; x &amp;&amp; x &lt; 1. It would be nice to support such syntax (it is already in Python available). Similarly it should be supported for the arrays -1 &lt; array &lt; 1, which will mean constrain for each coordinate.</p><p>PROBLEM 3.</p><br /><p>In galileo, there is bug<br /></p><div class="codebox"><pre><code>galileo_oo.py line 75:
   for itn in range(p.maxIter+1):</code></pre></div><p>it should use xrange instead, because for very big maxIter, it fails with MemoryError</p><br /><p>PROBLEM 4.</p><p>In de and interalg, if I have inequality of form lower &lt;= x, x &lt; upper (one strict and one non-strict), it ends with</p><div class="codebox"><pre><code>Error in de_oo.py line 196:
    bool_v = bool_constr_v + bool_v
ValueError: shape mismatch: objects cannot be broadcast to single shape</code></pre></div><p>It would be nice to support them however.</p><br /><p>PROBLEM 5.</p><p>in de, I had this</p><div class="codebox"><pre><code>de_oo.py line 102
  best, vals, constr_vals = _eval_pop(pop, p)
de_oo.py line 239
  best = (best_i, vals[best_i], 0, pop[best_i])
IndexError: index out of bounds</code></pre></div><p>PROBLEM 6.</p><p>in interalg</p><div class="codebox"><pre><code>interalg_oo.py line 178
   if tmp &lt; frc:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()</code></pre></div><p>PROBLEM 7.</p><p>Lack of function sum_squared() for arrays. I can use dot(T,T), however is is suboptimal when doing interval arithmetic. I currently use just<br /></p><div class="codebox"><pre><code>f = reduce(lambda sum, e: sum + e**2, Residuals)</code></pre></div><p>PROBLEM 8:<br /></p><div class="codebox"><pre><code>Theta = oovars(10)
K = oovar()
R = 1.0e-3*K*Theta</code></pre></div><div class="codebox"><pre><code>ooFun.py line 387, in __mul__
  return other.__mul__(self)
ooFun line 1495, in __mul__
  if not hasSize: raise Func...
FuncDesigner.FDmisc.FuncDesignerException: to perform the operation oofun size should be known</code></pre></div><p>COMMENTS:</p><p>This errors appears in various conditions. I want to globally solve simple quadratic problem, with one scalar variable (K), and one array variable (Theta), of size about 10-200.&nbsp; Problem 6 arise if I wan use constrains of form </p><div class="codebox"><pre><code>0 &lt; Theta</code></pre></div><p>, instead of adding all constrains manually for all i components </p><div class="codebox"><pre><code>0 &lt; Theta[i]</code></pre></div><p>.</p><p>I had workarounds for most of the problems here, however most of them are bugs, and should be fixed.</p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (Dmitrey)]]></author>
			<pubDate>Tue, 26 Jul 2011 16:07:58 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=437&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[How to call OpenOpt from C++?]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=434&amp;action=new</link>
			<description><![CDATA[<p>Hi,<br />My project is written in c++ , using microsoft visual studio.&nbsp; Current I using nlopt to do optimization.<br />And I want to use the Interger Optimization in OpenOpt.<br />So the question is:<br />How to call OpenOpt from C++ ? <br />Is there precompiled dll of OpenOpt library for me to call from c++?</p>]]></description>
			<author><![CDATA[dummy@example.com (Dmitrey)]]></author>
			<pubDate>Sat, 23 Jul 2011 08:11:49 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=434&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[sequential methods?]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=433&amp;action=new</link>
			<description><![CDATA[<p>Are there sequential optimization methods?&nbsp; I mean, I have a curve fitting type problem with 2 parameters.&nbsp; I&#039;d like to provide an input vector of size 100000.&nbsp; This will produce a first estimate of the parameters.&nbsp; Then I will provide a second input vector of size 100000.&nbsp; This will produce a refined estimate of the parameters.&nbsp; Repeat.</p><p>The method should not store all the data, as there will eventually be too much.</p><p>Are there such methods, and if so, any example or documentation on usage?</p>]]></description>
			<author><![CDATA[dummy@example.com (nbecker)]]></author>
			<pubDate>Sun, 17 Jul 2011 19:33:43 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=433&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[A non-linear optimization problem with a linear sub-problem]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=430&amp;action=new</link>
			<description><![CDATA[<p>First, as a new member, let me introduce myself. I&#039;m a retired programmer/engineer. My last job was in the nVidia 3D architecture team, where I worked on the Fermi family of chips. I&#039;ve got MS in math and PhD in computer science. My present interest is in financial modelling. I&#039;m studying D. Sornette&#039;s bubble detection algorithm.</p><p>The bubble detection algorithm looks for log-periodic super-exponential patterns in the price history of a security. Such a pattern can have a finite time discontinuity, which often indicates a crash. See [<a href="http://www.er.ethz.ch/fco/index">http://www.er.ethz.ch/fco/index</a>] for references and more information.</p><p>The formal problem is to fit the function f(t) = A+B*(Tc-t)**M+C*(Tc-t)**M*cos(W*log(Tc-t)+Phi)) to a time series of prices, with constraints&nbsp; Tc &lt; t and 0 &lt; M &lt; 1. I do this by generating an error function sum((f(ti)-pi)**2) and minimizing it. I&#039;ve lately switched to using OpenOpt ralg.</p><p>Now for my question. For fixed Tc,M,W, and Phi, the problem of finding A,B,C has a unique solution that can be computed directly. In my code, I &quot;slave&quot; the variable A,B,C to the other variables. Specifically, at each error function evaluation, I use the scipy least squares solver to compute the best current A,B,C values. This speeds up the calculation by roughly 2-3x. I would like to do this using FuncDesigner, but I can&#039;t figure out how. What I need is the ability to acquire the current values of Tc,M,W,Phi each time the solver evaluates the error function, so I can run the linear solver for A,B,C. This is fairly easy with ordinary Python functions, but then I don&#039;t have the automatic differentiation capability.</p><p>The following code snippet illustrates what I&#039;m trying to do:</p><div class="codebox"><pre><code>    def solve_ABC(M,Tc,Phi,W):
        # use least squares to find A,B,C
        am = np.column_stack([[f_A(t,M,Tc) for t in rtimes],
                              [f_B(t,M,Tc) for t in rtimes],
                              [f_C(t,M,Tc,Phi,W) for t in rtimes]])
        rp = []
        for r in range(len(rtimes)):
            wsqt = m.sqrt(rweights[r])
            for c in range(3):
                am[r,c] *= wsqt
            rp.append(rprices[r]*wsqt)
        (A,B,C),resid,rank,sigma = linalg.lstsq(am,rp)
        return A,B,C

    def residual_wosc(M,Tc,Phi,W):
        A,B,C = solve_ABC(M,Tc,Phi,W)
        rvals = [f_wosc(t,A,B,C,M,Tc,Phi,W) for t in rtimes]
        return sum([(v-p)*(v-p)*w for v,p,w in zip(rvals,rprices,rweights)])</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Dmitrey)]]></author>
			<pubDate>Wed, 13 Jul 2011 06:35:19 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=430&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[simple test failure]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=431&amp;action=new</link>
			<description><![CDATA[<p>------<br />import numpy as np<br />from openopt import NLP</p><p>def f (x):<br />&nbsp; &nbsp; return np.linalg.norm (x**2 - 2)</p><p>x0 = np.zeros(10)<br />p = NLP (f, x0)<br />r = p.solve (&#039;ralg&#039;)<br />-----------</p><p>This didn&#039;t work at all.<br />r.xf<br />Out[7]: array([ 0.,&nbsp; 0.,&nbsp; 0.,&nbsp; 0.,&nbsp; 0.,&nbsp; 0.,&nbsp; 0.,&nbsp; 0.,&nbsp; 0.,&nbsp; 0.])</p>]]></description>
			<author><![CDATA[dummy@example.com (Dmitrey)]]></author>
			<pubDate>Mon, 11 Jul 2011 12:17:14 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=431&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Cant Install FuncDesigner on MacOS]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=428&amp;action=new</link>
			<description><![CDATA[<p>1) I installed the superpack for scipy and numpy for mac os </p><p>2) Here is my numpy version<br />&gt;&gt;&gt; print numpy.version.version<br />2.0.0.dev-6441c2a</p><p>print scipy.version.version<br />0.10.0.dev<br />]<br />2) using easy_install I get the below</p><p>Below is my error</p><p>sudo python setup.py install<br />/Library/Python/2.6/site-packages/scipy-0.10.0.dev_20110527-py2.6-macosx-10.6-universal.egg/scipy/__init__.py:97: UserWarning: Numpy 1.5.0 or above is recommended for this version of scipy (detected version 1.2.1)<br />&nbsp; UserWarning)<br />Segmentation fault</p>]]></description>
			<author><![CDATA[dummy@example.com (Dmitrey)]]></author>
			<pubDate>Mon, 27 Jun 2011 10:03:39 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=428&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[pip install openopt ?]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=426&amp;action=new</link>
			<description><![CDATA[<p>Hi,</p><p>I am usually using pip to install python packages.<br />pip install openopt fails for me:</p><p>$ pip search openopt<br />openopt&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- A python module for numerical optimization<br />$ sudo pip install openopt<br />Password:<br />Downloading/unpacking openopt<br />&nbsp; Could not find any downloads that satisfy the requirement openopt<br />No distributions at all found for openopt<br />Storing complete log in /Users/deil/.pip/pip.log</p><p>Is this a problem of my setup or is pip generally not supported by openopt?</p><p>Thanks!<br />Christoph</p>]]></description>
			<author><![CDATA[dummy@example.com (Dmitrey)]]></author>
			<pubDate>Thu, 16 Jun 2011 15:11:28 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=426&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[MILP with glpk solver not working]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=421&amp;action=new</link>
			<description><![CDATA[<p>My name is Roger Guimera and I&#039;ve recently started using OpenOpt for solving MILP problems (and will probably use it in the future for other LP and QP applications).</p><p>When running the MILP example referenced in <a href="http://openopt.org/MILP">http://openopt.org/MILP</a> with the GLPK solver, the solver quits without giving any result. Any statements after the p.solve(&#039;glpk&#039;) are ignored, but I get no error message. All the output I can see is the following:</p><p>--------------------------------------------------<br />solver: glpk&nbsp; &nbsp;problem: unnamed&nbsp; &nbsp; type: MILP&nbsp; &nbsp;goal: min<br /> iter&nbsp; &nbsp; objFunVal&nbsp; &nbsp; log10(maxResidual)&nbsp; &nbsp;<br />&nbsp; &nbsp; 0&nbsp; 0.000e+00&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2.36 </p><p>Does anyone have an idea of what&#039;s wrong? Any hints will be much appreciated.</p><p>Best,</p><p>Roger</p>]]></description>
			<author><![CDATA[dummy@example.com (rdp)]]></author>
			<pubDate>Sun, 29 May 2011 20:54:59 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=421&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[New Member from India]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=422&amp;action=new</link>
			<description><![CDATA[<p>Dear All,</p><p>I am a PhD student at Indian Institute of Technology. I am formulating an optimization problem which is most likely will be a MINLP one. It is related to one issue in optimal operation of electric power distribution system. I hope that openopt will be useful for me. I have try some examples and like them.</p><p>Thanks a lot for accepting me as a member of this forum.</p><p>Sincerely Yours,</p><p>Novalio Daratha<br />Research Scholar at Power System Engineering Group<br />Electrical Engineering Dept.<br />Indian Institute of Technology Roorkee<br />Roorkee, Uttaranchal, India</p>]]></description>
			<author><![CDATA[dummy@example.com (novatha)]]></author>
			<pubDate>Fri, 20 May 2011 05:05:36 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=422&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[TypeError: fsolve() got an unexpected keyword argument 'warning']]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=379&amp;action=new</link>
			<description><![CDATA[<p>python -i systemSolve.py <br />/home/nwagner/local/lib/python2.6/site-packages/EnvisagePlugins-3.1.3.dev_r0-py2.6.egg/enthought/__init__.py:7: UserWarning: Module pkg_resources was already imported from /home/nwagner/local/lib64/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py, but /home/nwagner/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg is being added to sys.path<br />&nbsp; __import__(&#039;pkg_resources&#039;).declare_namespace(__name__)<br />/home/nwagner/local/lib/python2.6/site-packages/EnvisagePlugins-3.1.3.dev_r0-py2.6.egg/enthought/__init__.py:7: UserWarning: Module site was already imported from /usr/lib64/python2.6/site.pyc, but /home/nwagner/local/lib64/python2.6/site-packages/distribute-0.6.4-py2.6.egg is being added to sys.path<br />&nbsp; __import__(&#039;pkg_resources&#039;).declare_namespace(__name__)</p><p>&nbsp; &nbsp; Seems like you are using FuncDesigner from Enthought Python Distribution; <br />&nbsp; &nbsp; consider using free GPL-licensed alternatives <br />&nbsp; &nbsp; PythonXY (<a href="http://www.pythonxy.com">http://www.pythonxy.com</a>) or<br />&nbsp; &nbsp; Sage (<a href="http://sagemath.org">http://sagemath.org</a>) instead.<br />&nbsp; &nbsp; </p><p>&nbsp; &nbsp; Seems like you are using OpenOpt from Enthought Python Distribution; <br />&nbsp; &nbsp; consider using free GPL-licensed alternatives <br />&nbsp; &nbsp; PythonXY (<a href="http://www.pythonxy.com">http://www.pythonxy.com</a>) or<br />&nbsp; &nbsp; Sage (<a href="http://sagemath.org">http://sagemath.org</a>) instead.<br />&nbsp; &nbsp; <br />--------------------------------------------------<br />solver: scipy_fsolve&nbsp; &nbsp;problem: unnamed&nbsp; &nbsp; type: NLSP<br /> iter&nbsp; &nbsp; objFunVal&nbsp; &nbsp;<br />&nbsp; &nbsp; 0&nbsp; 8.650e+04 <br />Traceback (most recent call last):<br />&nbsp; File &quot;systemSolve.py&quot;, line 26, in &lt;module&gt;<br />&nbsp; &nbsp; r = S.solve(startPoint, fixedVars=fixedVars)<br />&nbsp; File &quot;/home/nwagner/local/lib/python2.6/site-packages/FuncDesigner-0.33-py2.6.egg/FuncDesigner/ooSystem.py&quot;, line 96, in solve<br />&nbsp; &nbsp; return self._solve(*args, **kwargs)<br />&nbsp; File &quot;/home/nwagner/local/lib/python2.6/site-packages/FuncDesigner-0.33-py2.6.egg/FuncDesigner/ooSystem.py&quot;, line 178, in _solve<br />&nbsp; &nbsp; return p.solve() if kwargs.get(&#039;manage&#039;, False) in (False, 0) else p.manage()<br />&nbsp; File &quot;/home/nwagner/local/lib/python2.6/site-packages/openopt-0.33-py2.6.egg/openopt/kernel/baseProblem.py&quot;, line 229, in solve<br />&nbsp; &nbsp; return runProbSolver(self, *args, **kwargs)<br />&nbsp; File &quot;/home/nwagner/local/lib/python2.6/site-packages/openopt-0.33-py2.6.egg/openopt/kernel/runProbSolver.py&quot;, line 220, in runProbSolver<br />&nbsp; &nbsp; solver(p)<br />&nbsp; File &quot;/home/nwagner/local/lib/python2.6/site-packages/openopt-0.33-py2.6.egg/openopt/solvers/scipy_optim/scipy_fsolve_oo.py&quot;, line 17, in __solver__<br />&nbsp; &nbsp; xf = fsolve(p.f, p.x0, fprime=p.df, xtol = p.xtol, maxfev = p.maxFunEvals, warning = (p.iprint&gt;=0))<br />TypeError: fsolve() got an unexpected keyword argument &#039;warning&#039;</p>]]></description>
			<author><![CDATA[dummy@example.com (Dmitrey)]]></author>
			<pubDate>Wed, 27 Apr 2011 06:18:32 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=379&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Difference between scipy's fmin_bfgs and openopt's scipy_bfgs]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=394&amp;action=new</link>
			<description><![CDATA[<p>Hi Dmitrey,</p><p>what is the difference between scipy&#039;s fmin_bfgs and openopt&#039;s scipy_bfgs ?<br />fmin_bfgs doesn&#039;t work in my example.<br />Any pointer would be appreciated.</p><p>Nils</p>]]></description>
			<author><![CDATA[dummy@example.com (Dmitrey)]]></author>
			<pubDate>Mon, 18 Apr 2011 10:48:36 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=394&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Possibly bug cvxopt_misc.py]]></title>
			<link>http://forum.openopt.org/viewtopic.php?id=393&amp;action=new</link>
			<description><![CDATA[<p>Hi Dmitrey,</p><p>I guess it should be</p><p>Sparse = cvxopt.base.spmatrix instead of&nbsp; Sparse = cvxopt.spmatrix </p><p>in line 6 of cvxopt_misc.py</p><br /><p>Nils</p>]]></description>
			<author><![CDATA[dummy@example.com (nwagner)]]></author>
			<pubDate>Tue, 12 Apr 2011 17:34:48 +0000</pubDate>
			<guid>http://forum.openopt.org/viewtopic.php?id=393&amp;action=new</guid>
		</item>
	</channel>
</rss>
