In this paper, we give an effective and efficient algorithm which on input takes non-zero integers A and B and on output produces the generators of the Mordell-Weil group of the elliptic curve over Q(t) given by an equation of the form y 2 = x 3 + At 6 + B. Our method uses the correspondence between the 240 lines of a del Pezzo surface of degree 1 and the sections of minimal canonical height on the corresponding elliptic surface over Q.For most rational elliptic surfaces, the density of the rational points is proven by various authors, but the results are partial in case when the surface has a minimal model that is a del Pezzo surface of degree 1. In particular, the ones given by the Weierstrass equation y 2 = x 3 +At 6 +B, are among the few for which the question is unsolved, because the root number of the fibres can be constant. Our result proves the density of the rational points in many of these cases where it was previously unknown.Résumé. -Dans cet article, nous donnons un algorithme efficace et efficient qui en entrée prend des entiers non nuls A et B et en sortie produit les générateurs du groupe Mordell-Weil de la courbe elliptique sur Q(t) donnée par une équation de la forme y 2 = x 3 + At 6 + B. Notre méthode utilise la correspondance entre les 240 courbes exceptionnelles d'une surface del Pezzo de degré 1 et les sections de hauteur de Shioda minimale sur la surface elliptique correspondante sur Q. Pour la plupart des surfaces elliptiques rationnelles, la densité des points rationnels est démontrée par diverses personnes, mais les résultats sont partiels dans le cas où la surface a un modèle minimal qui est une surface del Pezzo de degré 1. En particulier, les surfaces données par l'équation de Weierstrass y 2 = x 3 + A 6 + B, sont parmi les rares pour lesquelles la question n'est pas résolue, parce que le signe de l'équation fonctionnelle des fibres peut être constant. Notre résultat prouve la densité des points rationnels dans beaucoup de ces cas où elle était auparavant inconnue.