CoverC C++

« Older   Newer »
  Share  
view post Posted on 28/7/2020, 19:38     +1   -1
Avatar

Esperto

Group:
Member
Posts:
755
Reputation:
+406

Status:


:b:

Attached Image: 1

1

 
Top
view post Posted on 28/7/2020, 19:41     +1   +1   -1

Bambino

Group:
Member
Posts:
18
Reputation:
+10

Status:


precisa melhorar mais no codigo.
 
Top
view post Posted on 4/12/2020, 16:49     +1   -1

Bambino

Group:
Member
Posts:
18
Reputation:
+10

Status:


It generates 100% closing, it can generate greater guarantee than numbers per ticket.

Edited by BochiCintra - 4/12/2020, 20:06

Download attachment
Combina_Loto.zip ( Number of downloads: 121 )

 
Top
Robert Tokecap
view post Posted on 5/12/2020, 00:07     +1   -1




Qual versão de windows é necessário para rodar o programa.
 
Top
view post Posted on 5/12/2020, 00:26     +1   +1   -1

Bambino

Group:
Member
Posts:
18
Reputation:
+10

Status:


no meu note win10,caso não abre tenta rodar como administrador

Edited by BochiCintra - 5/12/2020, 01:07

Attached Image: Combina_loto

Combina_loto

 
Top
view post Posted on 5/12/2020, 13:14     +1   -1

Esperto

Group:
Member
Posts:
327
Reputation:
+45

Status:


:D Ciao BochiCintra :D
ho provato il tuo programma , anche la versione precedente , è il risultato sembra uguale , riduce poco , visto che sei bravo in c++ , prova con questo codice , https://github.com/germuth/Covering-PDO, io lo utilizzo e ottimizza e riduce molto bene , l'unica pecca e limitato , in v k
per fare un esempio utilizzando 16 4 2 2 col. 20 ( primato attuale )
con Combina Loto abbiamo con 10.000 teste col.24 , con il covering pdo master abbiamo 20 colonne uguale al primato attuale

Numbers =16 nSize =4 nWarranty =2 nCondition =2 nSteering wheels =24

4 5 7 15
4 9 12 14
1 2 13 16
1 4 6 8
3 7 8 13
6 7 11 16
2 3 10 12
5 9 10 11
1 3 14 15
6 9 13 15
8 10 14 16
8 11 12 15
2 5 6 14
3 4 9 16
2 4 11 13
1 7 10 12
2 7 8 9
5 12 13 16
1 3 5 11
2 10 13 15
4 6 10 12
7 11 13 14
1 5 8 9
3 6 15 16
==============================
colonne 20 con covering pdo master N.b. dove 0 e = 16
1 2 6 7
2 3 4 9
0 5 7 9
0 2 8 10
3 7 8 11
4 5 10 11
0 1 4 12
3 5 6 12
1 5 8 13
6 9 10 13
2 11 12 13
1 3 10 14
0 6 11 14
8 9 12 14
4 7 13 14
4 6 8 15
1 9 11 15
7 10 12 15
0 3 13 15
2 5 14 15


Ciao
Fred59

Edited by Fred59 - 5/12/2020, 14:21
 
Top
view post Posted on 5/12/2020, 14:26     +1   -1

Esperto

Group:
Member
Posts:
1,061
Reputation:
+709

Status:


System 16,6,4,6=25 (world record)
System 16,6,4,6=41 by Combina_Loto
 
Top
view post Posted on 5/12/2020, 15:43     +1   -1

Bambino

Group:
Member
Posts:
18
Reputation:
+10

Status:


esse programa eu tirei desse site não sou autor,apenas modifiquei

https://gist.github.com/mikkqu/03123ebe780...9cb5996388dfdf2
 
Top
view post Posted on 5/12/2020, 15:49     +1   -1

Bambino

Group:
Member
Posts:
18
Reputation:
+10

Status:


esse programa que vc citou tenho ele convertido para vb6,tente rodar ele

Download attachment
Cover32.zip ( Number of downloads: 178 )

 
Top
view post Posted on 5/12/2020, 15:52     +1   +1   -1

Bambino

Group:
Member
Posts:
18
Reputation:
+10

Status:


Imagem do programa

Attached Image: Cover32

Cover32

 
Top
view post Posted on 5/12/2020, 16:23     +1   -1

Esperto

Group:
Member
Posts:
327
Reputation:
+45

Status:


:D Ciao BochiCintra :D
Complimenti per la conversione del programma , il programma convertito in vb si difende molto bene ,se si apportano le giuste modifiche al programma può uguagliare o addirittura superare ininuga
ho testato attentamente il programma covering pdo masters in versione dos , e i risultati sono stati sorprendenti , spesso superava ininuga nell'ottimizzare l sistemi
adesso sto testando il programma convertito in vb , ti aggiorno .
ciao
Fred59

Edited by Fred59 - 7/12/2020, 21:32
 
Top
view post Posted on 8/12/2020, 09:05     +1   -1

Esperto

Group:
Member
Posts:
327
Reputation:
+45

Status:


:D Ciao BochiCintra :D
ho fatto dei test con il cover32 in vb , purtroppo con risultati non sodisfacenti , ti faccio un esempio , v 16 k 08 t 05 m 06 colonne 30 , con il cover32 vb non si riesce a chiuderlo , rimangono uncover 200 colonne circa dopo un pò di ore con tipo ottimizzazione analisi simulata, con ottimizzazione locale , si riesce a chiudere a 30 colonne .
cosa diversa è con il covering pdo master lo chiude in pochi minuti ,
con questi parametri
Design parameters: cover v=16 k=8 t=5 m=6 b=30 l=1 finalB=25 bFinal=25 SBFact=12345678910111213 bSearch=12345678910111213 SearchB=1 greedyStart=0 startFromFile=0 pdoJ=1 pdoK=10

---------------------------------
t - (v,m,k,l) = 5 - (16,6,8,1)
b = 30

Optimization parameters:
---------------------------------
EndLimit = 0
bSearch = 1576189421
FinalB = 25
PDO-Search = 1
PDO-K = 10.000000
PDO-J = 1.000000
PDO-Print = 2
PDO-Print-Freq= 500
PDO-Max-JDF = 5000000
greedyStart = 0
startFromFile = 0
OntheFly = 0
Packing = 0
SolX = 0
MemoryLimit = 0
check = 1
------------------------------------- N.B. dove 0 = 16
0 2 3 5 6 8 10 11
1 3 4 5 6 9 10 12
0 4 7 8 9 10 11 12
1 2 4 6 7 8 10 13
1 3 5 7 8 9 11 13
0 2 5 6 7 9 12 13
0 1 2 3 4 11 12 13
0 1 2 4 5 8 9 14
2 3 4 6 7 9 11 14
0 1 3 6 7 8 12 14
1 5 7 9 10 11 12 14
0 3 4 5 7 10 13 14
0 1 6 9 10 11 13 14
2 3 8 9 10 12 13 14
4 5 6 8 11 12 13 14
0 1 2 3 7 9 10 15
0 1 4 5 6 7 11 15
2 3 4 5 7 8 12 15
1 2 6 8 9 11 12 15
0 4 6 8 9 10 13 15
2 4 5 9 10 11 13 15
0 1 5 8 10 12 13 15
3 6 7 10 11 12 13 15
5 6 7 8 9 10 14 15
1 3 4 8 10 11 14 15
0 2 4 6 10 12 14 15
0 3 5 9 11 12 14 15
1 2 3 5 6 13 14 15
0 2 7 8 11 13 14 15
1 4 7 9 12 13 14 15

ciò mi fa pensare che con la conversione del programma in vb si perdono alcuni parametri fondamentali di ottimizzazioni .
a questo punto ti volevo chiedere sempre sia possibile di potenziare il covering pdo master in vk lasciando il codice in c++ cosi comè senza apportare altre modifiche al codice , credi si possa fare
ciao
Fred59

Edited by Fred59 - 8/12/2020, 10:00
 
Top
view post Posted on 28/7/2021, 10:04     +1   -1

Infante

Group:
Member
Posts:
1
Reputation:
0

Status:


QUOTE (BochiCintra @ 5/30/2020, 06:04 PM) 
eu estou convertendo para c++ builder com interface grafica,assim que terminar eu envio.

Ciao, BochiCintra

Thank you for the hard work you've put in creating this app. But, I was wondering if you can help me with something. Maybe I´m missing some function, but I don´t know how to stop the process once it has found the number of tickets I need and not let it run thru all iterations. Thanks.

Best Regards
 
Top
view post Posted on 6/9/2021, 23:30     +1   -1

Bambino

Group:
Member
Posts:
18
Reputation:
+10

Status:


o programa só para sozinho se atingir 100% ou no botão parar processo.se alguem tiver interesse no codigo de fonte me avise que eu envio.
 
Top
28 replies since 28/5/2020, 05:06   2266 views
  Share