Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53486

Re: Simplex Algorithm

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <vitaletom1@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.028
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'algorithm': 0.04; 'scipy': 0.05; 'positioned': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; "wouldn't": 0.14; 'benjamin': 0.16; 'programmatic': 0.16; 'wrote:': 0.18; 'properly': 0.19; 'solution.': 0.20; 'work,': 0.20; 'thanks.': 0.20; 'cc:addr:python.org': 0.22; 'header:User- Agent:1': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; "i've": 0.25; 'excel': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'am,': 0.29; 'possibility': 0.29; "i'm": 0.30; '(which': 0.31; 'getting': 0.31; 'sep': 0.31; 'anyone': 0.31; 'class': 0.32; 'figure': 0.32; 'another': 0.32; "can't": 0.35; 'something': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'too': 0.37; 'easy': 0.60; 'spot': 0.65; 'to:addr:gmail.com': 0.65; 'results': 0.69; 'forced': 0.84; 'look.': 0.84; 'oscar': 0.84; 'url:reference': 0.84; 'vba': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:newsgroups:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=lkUPFUE3CdSAIQ6TRAf19DhzMWISzpp+VqNJoXCFeRU=; b=0mdtUt+51fmqdmxAym9NlBJQyWV0+N8blQbHOsp2VuJMjnx7ufKX2jfhkNuvdsDnqI HjsWy+TDVTYckMqBBK1Fm07bgI8cZNtdYm/JRdDtZHuFflIBPbpKfLXa8zD33UFRX0NS idm4R5DB7x9TIKCG5SvsAtYFJmhZEsJ99Eftooe+QirQXnbg97VBf3wzxHiFF2MlP+Ni 6/w9Rgdui5MA+ualVJy1SIFm9bOtJzF+jCRMrTTTK+5PaX7M1CBjqs6fqJSffO7YyfFW VgLc+YFQLVPW/u6fxwsupMM7k4P3uOaM0AxGSyWWBqFMg+f2WOR0ta0HF73NS7n814Ac 7Oiw==
X-Received by 10.221.64.17 with SMTP id xg17mr23453289vcb.5.1378132970509; Mon, 02 Sep 2013 07:42:50 -0700 (PDT)
Date Mon, 02 Sep 2013 10:42:47 -0400
From Tommy Vee <vitaletom1@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version 1.0
Newsgroups comp.lang.python
To Oscar Benjamin <oscar.j.benjamin@gmail.com>
Subject Re: Simplex Algorithm
References <1PRUt.242963$ZD2.40442@fx19.iad> <mailman.473.1378109206.19984.python-list@python.org>
In-Reply-To <mailman.473.1378109206.19984.python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.490.1378132978.19984.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378132978 news.xs4all.nl 15880 [2001:888:2000:d::a6]:46266
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53486

Show key headers only | View raw


On 9/2/2013 4:06 AM, Oscar Benjamin wrote:
>
> On Sep 2, 2013 2:31 AM, "Tommy Vee" <xxxxx@xxxxxx.xxx> wrote:
>  >
>  > Anyone know where I can get an easy to use Python class or algorithm
> for the Simplex optimization algorithm?  I've tried the one in the link
> below, but I can't figure out if a) I'm using it properly, or b) where
> to get the solution.  BTW, I tried some test scenarios using MS Excel's
> "Solver" and just can't get this algorithm to match Excel's results
> (which is spot on).
>  >
>  > http://taw9.hubpages.com/hub/Simplex-Algorithm-in-Python
>  >
>  > BTW, if I can't something to work, I'm going to be forced to use the
> VBA programmatic Excel interface. That wouldn't be too bad, but the data
> comes from a DB and getting it properly positioned to use Excel's
> "Solver" is very painful.  A Python approach would be much cleaner.
>
> Are you able to use scipy? It has the simplex algorithm (among many
> others) in its optimize module:
> http://docs.scipy.org/doc/scipy/reference/tutorial/optimize.html
>
> Oscar
>
  scipy would be another possibility of last resort.  I will take a 
look. Thanks.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Simplex Algorithm Tommy Vee <xxxxx@xxxxxx.xxx> - 2013-09-01 21:26 -0400
  Re: Simplex Algorithm Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-09-02 09:06 +0100
    Re: Simplex Algorithm Tommy Vee <xxxxx@xxxxxx.xxx> - 2013-09-02 10:42 -0400
    Re: Simplex Algorithm Tommy Vee <vitaletom1@gmail.com> - 2013-09-02 10:42 -0400
  Re: Simplex Algorithm Robert Kern <robert.kern@gmail.com> - 2013-09-02 10:45 +0100
  Re: Simplex Algorithm Robert Kern <robert.kern@gmail.com> - 2013-09-02 10:55 +0100
    Re: Simplex Algorithm Tommy Vee <xxxxx@xxxxxx.xxx> - 2013-09-02 11:06 -0400
      Re: Simplex Algorithm Robert Kern <robert.kern@gmail.com> - 2013-09-02 16:43 +0100
        Re: Simplex Algorithm Tommy Vee <xxxxx@xxxxxx.xxx> - 2013-09-02 14:59 -0400
        Re: Simplex Algorithm Tommy Vee <vitaletom1@gmail.com> - 2013-09-02 14:59 -0400
    Re: Simplex Algorithm Tommy Vee <vitaletom1@gmail.com> - 2013-09-02 11:06 -0400
  Re: Simplex Algorithm Tony the Tiger <tony@tiger.invalid> - 2013-09-16 13:47 -0500

csiph-web