# Bugs

### From OpenOpt

Bug | Is already fixed in subversion repository |
---|---|

OO GUI function manage:buttons Run/Pause don't work in Python 3 (and in latest Python versions as well) |
No (something with threading, maybe it will be fixed in Python) |

Bug | Is already fixed in subversion repository |
---|---|

Bug in MMP when result (p.ff) is negative (incorrect objective function value is returned) |
Yes |

OO GUI function manage:buttons Run/Pause don't work in Python 3 (in Python 2 all is ok) |
No (something with threading, maybe it will be fixed in Python 3) |

Incorrect FD intervals for arcsin and arccos when input range has points out of [-1,1] |
Yes |

interalg incorrectly works on some optimization problems with other than box-bound constraints |
Yes |

interalg incorrectly works on some optimization problems with non-default (1e-6) constraints tolerance |
Yes |

EIG solver arpack cannot be imported | Yes |

A rare bug with oosystem | Yes |

SpaceFuncs are incompatible with latest Python versions (TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types) |
Yes |

lapack_dgelss and lapack_sgelss are incompatible with latest SciPy version | Yes |

interalg in a cycle yields memory leak | Yes (walkaround for NumPy memory leak with numpy.take() has been committed) |

Bug | Is already fixed in subversion repository |
---|---|

Some incompatibilities of FuncDesigner with Python3 | Yes |

A bug in interalg (especially for SNLE and probs with known fOpt) | Yes |

OO graphics output bug with box-bound constrained solvers (bobyqa, tnc, lbfgsb) | Yes |

OpenOpt incompatible with latest pyipopt version | Yes |

A bug with freeVars / fixedVars in FD | Yes |

FD parameters fixedVars or freeVars raise error if contain ooarray type (made from oovars()) | Yes |

A FuncDesigner bug in differentiation (sometimes triggers for vectorized variables), may affect rendering into SLE, LP, MILP | Yes |

FD ooarray bug "0-d arrays can't be indexed" with numpy 1.6.x versions | Yes (fixed for ooarray.__add__, doesn't tested properly for other methods yet) |

Incompatibility with new tkinter (thus p.manage() doesn't work in Python 3) | No |

Bug | Is already fixed in subversion repository |
---|---|

numpy.ndarray * FD_ooarray raises bug (FD_ooarray * ndarray works ok) | Yes |

Bug with FD AD through add on oovar+(ndarray of size>1) |
Yes |

Bug with FD ooarray (thus may occur in SpaceFuncs) "AttributeError: 'float' object has no attribute 'item'" or "AttributeError: 'int' object has no attribute 'item'" |
Yes |

Bug | Is already fixed in subversion repository |
---|---|

FuncDesigner and / or SpaceFuncs can raise a bug like "iteration over a 0-d array" with latest numpy from git repository | Seems like yes |

Solving nonlinear systems of equations by scipy_fsolve doesn't work with latest git repository scipy version | Yes (the argument "warning" has been removed, thus you may encounter some annoying text output with current stable scipy version) |

FD ode may work incorrectly with vector variables (raise 'ooPoint' object has no attribute 'name') | Yes |

MINLP solver branb on FD probs calls DerApproximator instead of using AD | Yes |

bugs in interval analysis with division and thus interalg | Yes |

cplex incorrectly works with sparse matrices | Yes |

FD min and max incorrectly work on non-FD data | Yes (data goes to numpy min/max, beware of incompatibility with native Python min/max) |

FD sparse sle bug (won't solve as sparse) with latest versions of scipy | Yes |

FD intervals bug with ** (pow) | Yes |

some LP/MILP solvers fail w/o any Python exception | Yes |

Bug | Is already fixed in subversion repository |
---|---|

"Item Not Found Error" for FuncDesigner automatic differentiation | Yes |

ralg incorrectly handles OO problems with some coords fixed via lb[i] = ub[i] This bug especially matters for MINLP |
Yes |

FuncDesigner: if you're using parameters freeVars or fixedVars,sometimes rendering of linear constraints (Ax<=b, Aeq x = beq) is incorrect |
Yes |

Error in FDMisc.py "name self is not defined" | Yes |

A rare bug with casting to CVXOPT sparse matrices | Yes |

Major bug for solving sparse FuncDesigner SLE (system of linear equations) |
Yes |

Bug | Is already fixed in subversion repository |
---|---|

FD opt probs with sparse matrices; simetimes for big nVariables and small number of constraints a bug occurs: dense matrices are used instead of scipy.sparse |
Yes |

SOCP bug for handling lb <= x <=ub | Yes (+ involving Ax <= b constraints has been added) |

Incorrect FuncDesigner handling of slicing for sparse cases | Yes |

Some rare bugs for non-linear OpenOpt problems | Yes |

Sometimes FuncDesigner automatic differentiation for funcs built with array division works incorrectly with latest NumPy versions |
Yes |

Bug | Is already fixed in subversion repository |
---|---|

some rarely encountered bugs for ipopt, ralg, maybe other nonlinear solvers | Yes |

A bug with incorrect shape that sometimes triggers from CVXOPT-connected solvers (e.g. cvxopt_lp, glpk) | Yes |

Sometimes OpenOpt incorrectly renders FuncDesigner linear constraints (typo "vstack" instead of "hstack"). Maybe, sometimes it triggers with other automatic differentiation results for nonlinear constraints. | Yes |

cvxopt_lp and glpk incorrectly handle OpenOpt (not FuncDesigner) problems where some variables are fixed via lb[i] = ub[i] | Yes |

Bug | Is already fixed in subversion repository |
---|---|

User-supplied args for OpenOpt problems sometimes are not available | Yes |

Parameter searchDirectionStrategy of solver de set to "best" yields error |
Yes |

Bug in non-linear problems group | Yes |

NameError: global name 'isspmatrix' is not defined (in ooMisc.py for some problems/solvers) | Yes |

ralg badly handles problems with nonlinear equality constraints (compared to previous releases) | Yes (some improvements) |

Bug | Is already fixed in subversion repository |
---|---|

numpy.array operations with FuncDesigner oofuns/oovars | Yes |

If scipy is not installed then importing from openopt may be failed | Yes |

FuncDesigner sometimes yields the error "blocks must have rank 2" | Yes |

Sometimes ipopt wrapper fails on FD model with "blocks must have rank 2" | Yes |

Bug | Is already fixed in subversion repository |
---|---|

ralg incorrectly handles problems with number of linear equality constraints more than 1 | Yes |

FuncDesigner function sum() sometimes yield incorrect derivative (hence it affects optimization of FD models where the function is used) |
Yes |

FuncDesigner function sin() yields incorrect value | Yes |

scipy_slsqp incorrectly handles box-bound constraints lb <= x <= ub if some lb or ub coords are +/- inf | Yes |

Bug | Is already fixed in subversion repository |
---|---|

Sometimes some solvers fail with error message "instance has no attribute 'x'" | Yes |

Bug | Is already fixed in subversion repository |
---|---|

Incorrect handling of A, Aeq constraints by scipy_slsqp provided c, h are absent | Yes |

scipy_cobyla, sometimes incorrect handling of nonlinear equality constraints h(x)=0 | Yes |

Incorrect handling of several constraints R^nvars -> R by NLP/NSP solver ralg | Yes |

A bug for named variables syntax | Yes |

sometimes lpSolve reports "solution is not feasible" while it is feasible | Yes |

Known bugs for release 0.21

Bug | Is already fixed in subversion repository |
---|---|

"python setup.py develop" works but "python setup.py install" doesn't work | Yes |

NLLSP works incorrectly if no user-supplied gradient is provided | Yes |

Matplotlib warning /usr/lib/python2.5/site-packages/matplotlib/axes.py:5047: DeprecationWarning: replace "faceted=False" with "edgecolors='none'" |
Yes |