1. 28 Sep, 2013 2 commits
  2. 21 Sep, 2013 1 commit
    • Alex Leontiev's avatar
      Refined interface for Conjugate Gradient · 581d4545
      Alex Leontiev authored
      Some interface was refined (most notably, the method for returning
      Hessian was removed and the method for getting gradient was added as
      optional to base Solver::Function class) and basic code for
      setters/getters was added. Now is the time for the real work on an
      algorithm.
      581d4545
  3. 20 Sep, 2013 1 commit
  4. 10 Sep, 2013 2 commits
    • Alex Leontiev's avatar
      Minor fixes · 11fa0651
      Alex Leontiev authored
      As the opencv's build-bot did not want to compile this revision, I had
      to do some changes. In particular,
      1) Removed unsigned int vs int comparisons, that were treated as errors
      2) Removed unused variables and functions
      3) Removed functions without previous declaration
      4) Fixed whitespaces
      11fa0651
    • Alex Leontiev's avatar
      Primal-dual algorithm · ccc71ac1
      Alex Leontiev authored
      This is an implementation of primal-dual algorithm, based on the C++
      source code by Vadim Pisarevsky. It was extended to handle the denoising
      based on multiple observations. It also contains documentation and
      tests.
      ccc71ac1
  5. 30 Aug, 2013 3 commits
  6. 11 Jul, 2013 1 commit
    • Alex Leontiev's avatar
      Convenience fixes · 6db2596c
      Alex Leontiev authored
      Attempting to fix issues pointed out by Vadim Pisarevsky during the pull
      request review. In particular, the following things are done:
      *) The mechanism of debug info printing is changed and made more
      procedure-style than the previous macro-style
      *) z in solveLP() is now returned as a column-vector
      *) Func parameter of solveLP() is now allowed to be column-vector, in
      which case it is understood to be the transpose of what we need
      *) Func and Constr now can contain floats, not only doubles (in the
      former case the conversion is done via convertTo())
      *)different constructor to allocate space for z in solveLP() is used,
      making the size of z more explicit (this is just a notation change, not
      functional, both constructors are achieving the same goal)
      *) (big) mat.hpp and iostream headers are moved to precomp-headers from
      optim.hpp
      6db2596c
  7. 10 Jul, 2013 1 commit
    • Alex Leontiev's avatar
      Cleaning the code of simplex method · a9565011
      Alex Leontiev authored
      In particular, the following things are done:
      *) Consistent tabulation of 4 spaces is ensured
      *) New function dprintf() is introduced, so now printing of the debug
      information can be turned on/off via the ALEX_DEBUG macro
      *) Removed solveLP_aux namespace
      *) All auxiliary functions are declared as static
      *) The return codes of solveLP() are encapsulated in enum.
      a9565011
  8. 20 Jun, 2013 1 commit
    • Alex Leontiev's avatar
      Blank module and first draft of solver API. · f41b8b90
      Alex Leontiev authored
      At this point we have a skeleton of a new module (optim) which can
      barely compile properly (unlike previous commit). Besides, there is a
      first draft of solver and lpsolver (linear optimization solver) in this
      commit.
      f41b8b90
  9. 31 May, 2013 1 commit
    • Alex Leontiev's avatar
      The initial commit for generic optimization · 47ce461d
      Alex Leontiev authored
      Generic optimization package for openCV project, will be developed
      between the June and September of 2013. This work is funded by Google
      Summer of Code 2013 project. This project is about
      implementing several algorithms, that will find global maxima/minima of a
      given function on a given domain subject to a given constraints.
      
      All comments/suggestions are warmly appreciated and to be sent to
      alozz1991@gmail.com (please, mention the word "openCV" in topic of
      message, for I'm using the spam-filters)
      47ce461d