Site hosted by Angelfire.com: Build your free website today!
E-mail Webmaster
_______________
Navigation

Home
________________
Recent Additions

________________
English Section

TI Graphing Calculators
TI Program Descriptions

TI Programs
TI Programming Keystrokes

Brief User Guides
TI-82
TI-82 Statistics
TI-83 Plus Series

TI-83 Plus Statistics
TI-83 Plus Finance APP
TI-83 Plus Busines & Economics
TI-83 Plus Lin Prog
TI-83 Plus Geometry
TI-89 User Guide
TI-89 Statistics
TI-89 Finance
Arithmetic of  Lists

TI FAQs
For Beginners
More Detailed Page 1
More Detailed Page 2
TI-89 FAQs

Links to  Guidebooks by TI
TI-82
TI-83 Plus

Casio Graphing    Calculator

Casio Program Descriptions

Casio Programs
CFX-9850 & CFX-9750

Brief  Guides

CFX-9850 & CFX-9750
User Manual

Statistics Guide

Casio Programming Keystrokes
________________
Brief Guides Other Calculators
HP 43S Calculator

Scientific Calculators
FAQs for Scientific Calculators

===============

Sección Española

FAQs en Español
FAQs Basicos
Mas Dificil Pagina 1
Mas Dificil Pagina 2

Guías en Espaňol
TI-82 Espanol
TI-82 Estidisticas
TI-83 Plus Espanol
TI-83 Plus Estidisticas
TI-83 Plus Guía Financiera
TI-89 Titanium Guía
TI-89 Estidisticas
TI-89 Guía Financiera

 

Casio Calculadoras

Breve Guía Español
Cfx-9850 & Cfx-9750

Casio FAQs en Espanol

Calculadoras Científicos

FAQs en Espanol
________________
Links
Programs at Other Sites

Links to Tutorials

  

 EXTENDED SIMPLEX METHOD FOR TI-83Plus & TI-82

About this program:   This is a front-end add-on to the program ticsimplex_pos for users who are not familiar with using the positive slack  variables that program uses for minimization and mixed constraints.  You must have the program tisimplex_pos  entered in your calculator in order for this program to give you anything other than the initial tableau for minimizations or mixed constraints. 

Running the Program:
  Unlike several of my other programs, the student does not participate in this program other than to enter the matrix in position A and to formulate the first tableau with appropriate  slack variables.  I'll give you examples on this after the coding section. 

Memory used and entry time:  This program uses uses about 372 bits of memory.   I estimate that it will take about 15 minutes for an inexperienced programmer to enter this program by hand.

DISCLAIMER:  This program is free, and, therefore, I make no claims about it's efficacy, efficiency, or proper operation.  This is a new program as of 8/15/03.  If you find a problem with this program, or can suggest  improvements, please e-mail me at knosummath@aol.com  .

Use of this Program:   You may use this program freely for your own personal use and for the use of other students, but use for publication or any means of profit in not allowed without my permission.

Revisions:  Verson V1.0, date: 8/23/03.  Version V1.1, date: 10/2/04


Coding

Keystrokes

Comments

SMPLSEXT

 

Program designation

"V1.0 FKizer"

  Version

Lbl 0

   
dim([A])→L1    
L1(1)→R    
L1(2)→C    
[A]→[B]    

[A]T →[C]

   
Menu("SELECT","STD MAX",1, "MIXED MAX", 2, "STD MIN",3)    

Lbl 2 :Lbl 3

   

For (K, 1, C-1)

   
Matr→List([B],K, L1)    
0→M    

0→L1(R)

   

If Min(L1) = Sum L1  and Min(L1) = -1

   

Then:Min (L1)→M

   

 End

   
If M = -1    
Then    

For (N,1, R-1)

   

If Min=L1(N)

   

Then: N→I:End

   
End    

[B]T →[C]

   

Matr→List([C],I, L1)

   

0→L1(C

   

Max(L1)→H

   

For (D,1, C-1)

   

If  H=L1(D)

   
Then:D→J:End    
End:End    
*row ((1_|([B](I,J), [B], I)→[B]    

For (E,1, R)

   

If E≠I and [B](E,J)≠0

   
Then: *Row+((-[B](E, J), [B], I,E)→[B]:End    

End:End

   
[B]→[A]    

Lbl 1

   

:ProgTCSMPLEX

   
Stop    

Note:  The answer is first displayed in decimals and paused.  If you want fractions, just press ENTER again, and fractions will be displayed when appropriate.  DO NOT look for the that displays the matrix in this program.   It's in the called program TCSMPLEX.
Now for using it:
  Let's do this a maximization problem:
Maximize P = 2x1 +4x2 +3x3
With these constraints:
x1 +3x2 + x3 6
2x1 +2x2 +x3 5
3x1 =x2 +4x3 7

Using slack variables, the first tableau will be this:
| 1   3     1  1  0  0  6|
|2    2     1  0  1  0  5 |
|3    1    4   0  0 1  7 |
|-2  -4  -3   0  0  0 0

Plug that into matrix A; go to your program and execute it.  When the Menu appears,  enter 1. After a few seconds your answer will be displayed.


Standard Minimization problem: (Be sure you know what standard minimization means.)
Minimize w= 3y1 +2y2
With these constraints:
y1 + 3y2 ≥6
2y1 + y2 ≥3

We can look at this problem like this:
Maximize:  z = -w= -3y1 - 2y2
Subject to:y1 + 3y2 ≥6
                   2y1 + y2 ≥3

So, our first tableau is this:
| 1   3    -1   0  |6
| 2   1     0  -1  |3
|3    2     0   0  |0

Enter that into matrix A; execute the program and enter 3 when the Menu appears.  The display will be  this:
|  0    1  - 0.4   0.2    1.8 |
|  1   0    0.2  -0.6     0.6 |
|  0   0    0.2   1.4     -5.4|

Notice that -5.4 is the negative of the minimum, 5.4, and that y1 = 0.6 and y2 = 1.8.

Mixed ≤ and ≥ problem:
Maximize:    Z= 120x1 + 40x2 + 60x3
Subject To: 
x1 +x2 + x3 ≤ 100
400x1+160x2+280x3≤20000
x1 +x2 +x3 ≥60

Then our first tableau will be this:
Using slack variables, the first tableau will be this:
| 1      1      1    1  0  0  |100
|400 160  280  0  1  0  |20000
|1        1    1     0  0 -1 | 60
|-120  -40  -60   0  0  0| 0

Enter that into matrix A; execute the program and enter 2 when the Menu appears.  The display will be  this:
| 0      0      0    1       0           1           40
| 1      0     0.5  0   4.1E-3    0.6666     43.3333
| 0      1     0.5  0    -4E-3     -1.666      16.666
| 0      0     20   0     0.333    13.333     5866.6

                     


Last Revised: 10/4/04