HP Forums
Simplex Program - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Simplex Program (/thread-5782.html)

Pages: 1 2


RE: Simplex Program - cclinus - 12-01-2016 01:35 PM

Hi,

Simplex program is updated to V20.
1) This version add import data from spreadsheet. Since INPUT dialog box only allow to have 10 pages input fields at most. If your linear programming problem has many variables and constraints. It will cause invalid input ERROR. So, use spreadsheet as input interface could avoid this error from happen.
2) Modify simplex algorithm.

Download Link:
http://www.hpmuseum.org/forum/thread-5281.html

Thanks!


RE: Simplex Program - cclinus - 12-02-2016 01:25 PM

Hi,

Sorry for a bug in Import data from SpreadSheet.
Now it is fixed.
Ver sim20.9

Regards,


RE: Simplex Program - cclinus - 12-09-2016 01:49 PM

Hi,

Simplex program is updated to v20.11
User is allowed to define the variables name when importing data from spreadsheet.
Below is an example:
[attachment=4268]

Regards,

Download Link:
http://www.hpmuseum.org/forum/thread-5281.html


RE: Simplex Program - jrozsas - 12-09-2016 04:35 PM

(12-09-2016 01:49 PM)cclinus Wrote:  Hi,

Simplex program is updated to v20.11
User is allowed to define the variables name when importing data from spreadsheet.
Below is an example:


Regards,

Download Link:
http://www.hpmuseum.org/forum/thread-5281.html
Can you create a tutorial for beginners?


RE: Simplex Program - cclinus - 12-10-2016 05:30 AM

Hi,

Please read POST#1,#6,#10, #11 and troubleshooting in POST#1.
First of all , Type sim20(0) in CAS mode. Then enter data to appropriate fields.

Sorry for my poor English. You may find it is hard to understand what I want to say.
It is better to open the picture attached. Which is easier to understand.

Regards,


RE: Simplex Program - jrozsas - 12-10-2016 12:40 PM

(12-10-2016 05:30 AM)cclinus Wrote:  Hi,

Please read POST#1,#6,#10, #11 and troubleshooting in POST#1.
First of all , Type sim20(0) in CAS mode. Then enter data to appropriate fields.

Sorry for my poor English. You may find it is hard to understand what I want to say.
It is better to open the picture attached. Which is easier to understand.

Regards,
The program does not work. Results do not appear as shown.
[Image: simple10.png]
[Image: simple11.png]
This may be a bug or as I told you, it lacks a tutorial to use the program properly.


RE: Simplex Program - cclinus - 12-10-2016 01:17 PM

Hi Leo,

It seems that the CAS program doesn't work on your calculator.
You are using virtual or real calculator? (Virtual calculator always corrupt cas vars memory everytime I turn it on)
If you are using virtual calculator, please press SHIFT MEM("B").
Then press CAS Vars and delete all CAS functions and variables.
Then press SHIFT program, edit sim20_11 and then press check.
It should display "No errors in the program", then OK, ESC and ESC.
Then type sim20(99) in CAS mode again.

If it still doesn't work, please check the CAS setting.
It should be same as below picture.
[attachment=4272]

Regards,

PS. This program work fine in my virtual Cal and real Cal except the corrupt issue of virtual Cal.


RE: Simplex Program - cclinus - 12-12-2016 03:00 AM

Hi Leo,

I just found that if "Recursive Replacement" setting is not equal to 1, my program doesn't work. The symptom is same as your case.
Please try to enter CAS setting menu page 2 and set it to 1.

The below cas setting is correct.
[attachment=4288]

Regards,


RE: Simplex Program - jrozsas - 12-12-2016 08:20 AM

(12-10-2016 01:17 PM)cclinus Wrote:  Hi Leo,

It seems that the CAS program doesn't work on your calculator.
You are using virtual or real calculator? (Virtual calculator always corrupt cas vars memory everytime I turn it on)
If you are using virtual calculator, please press SHIFT MEM("B").
Then press CAS Vars and delete all CAS functions and variables.
Then press SHIFT program, edit sim20_11 and then press check.
It should display "No errors in the program", then OK, ESC and ESC.
Then type sim20(99) in CAS mode again.

If it still doesn't work, please check the CAS setting.
It should be same as below picture.


Regards,

PS. This program work fine in my virtual Cal and real Cal except the corrupt issue of virtual Cal.
My CAS, page 2 Recursive =1
The problem is CAS Vars = delete all CAS variables. This procedure resolved the problem.
TKS!


RE: Simplex Program - cclinus - 12-17-2016 05:12 AM

Hi,

Simplex program is updated to v20.13.
Modify the algorithm to treat infinitely many solutions.

Regards,
Download Link:
http://www.hpmuseum.org/forum/thread-5281.html