Results 1 to 3 of 3

Thread: [RESOLVED] Simplex

  1. #1

    Thread Starter
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Resolved [RESOLVED] Simplex

    Has anyone heard of the simplex algorithm? Essentially it is the most efficient optimisation algorithm in linear programming for any number of variables and constraints. For those who are not familiar with simplex, click here. I have been wondering as to the best way to translate this into code for a VB6 application. Any ideas?

  2. #2
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Simplex

    Look at Numerical Recipes.

    Chapter 10 has the code in C or Fortran, depending on your proclivities. It's not too difficult to translate to VB.
    I use VB 6, VB.Net 2003 and Office 2010



    Code:
    Excel Graphing | Excel Timer | Excel Tips and Tricks | Add controls in Office | Data tables in Excel | Gaussian random number distribution (VB6/VBA,VB.Net) | Coordinates, Vectors and 3D volumes

  3. #3
    Fanatic Member VBAhack's Avatar
    Join Date
    Dec 2004
    Location
    Sector 000
    Posts
    617

    Re: Simplex

    This link has an Excel add-in that contains VB code for simplex. The add-in is called 'Didactic Optimization Tool for EXCEL'.

    http://digilander.libero.it/foxes/SoftwareDownload.htm

    Edit: may not be what you want. This one uses Nelder-Mead Downhill-Simplex for unconstrained problems.
    Last edited by VBAhack; Sep 11th, 2007 at 11:37 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width