Post Reply 
HP Prime contest in python : "Fiat Lux !"
09-30-2018, 08:33 AM
Post: #1
HP Prime contest in python : "Fiat Lux !"
Hi,

HP corp. is participing to a contest in python.
The code is written by a french mathematics professor : Critor.
In attachement you have the application "Force" to run.

Your control panel of 30 potentiometers from 0 to 1 allows you to control up to 252 lamps.
Light up a maximum of light bulbs with minimal energy while wasting as little as possible.
Syntax: pot (..., ...) to be completed with the potentiometer number from 0 to 29 and its value from 0 to 1.
Example: pot (3,0.8) pushes the number 3 potentiometer to 80%.

Tape [CAS] to start.

My score is 192 points but the best (right now is 217).

I wonder what is the best way to reach the really maximum points ?

Surely with high mathematics, some says genetic algorithm, others says
lineaires systems.... Me I do empiric way but of course not very good, very long
and not very efficient !

May be some advertising to help me ?

Thank, enjoy, good sunday !


Attached File(s) Thumbnail(s)
       

.zip  Force.hpappdir.zip (Size: 3.62 KB / Downloads: 30)

GĂ©rard.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP Prime contest in python : "Fiat Lux !" - ggauny@live.fr - 09-30-2018 08:33 AM



User(s) browsing this thread: 1 Guest(s)