Bill Allombert on Thu, 02 Feb 2023 22:04:14 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Looking for a smaller solution...
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Looking for a smaller solution...
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Thu, 2 Feb 2023 22:03:01 +0100
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1675371778; c=relaxed/relaxed; bh=GRBhIVxWgJnpeZ/FQL2blEwUJHv0zCh4U0zW0HoGNLU=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=ckX8RRXDZAfnvRLWedlOa7Zw447QSpsGcO0HdzobGU0KqKgY9lHNDpaPVSG/SVcix5Qa+J1RaNttC6IzN/pdpc9VoxyTaK50/hHUBJl8p6H5LwEuQRGfwG3gwDOmQ+/YORoWS55PIitVaCzfdjF+vk7RpBL5zh6gvFKt3EdRyEqa3ixPRUux71ywNcqGJU/cqxd7p/BoCzXTI1GYRjSEvTh4888zKk7DYAhxRF/7ZL7dUknRa1tm+2NTGc2j9gdr11GokniYVtvQq0WbwrUfF0Gufwutp1F3on/ulf2LCZC7s4Fso0KxpBSq4TGsw7REq9TB5xQqdnz/EIfk19ktDnUQwm9JCNEoD+ROrTRpwCOzcVQV0A5X1K9mO84ryKylHscf6MlCBgRiSod118ArLaJZGJ5xIjAkLLCLyjiUjEi8FNqKu09Qv9P2M43WiMhfDzdQeV29pujd7O2x5aTYI8qCe92j+GZP8/+QZTPoICl0V63/U/dHv8oz9m2J2VmCZ9tOGdvIIm7kKNJyLE8LiPFH8pdzdo7IvQgAxYHlhAO/qj6DmvzdpsNIf/OwIR+IbkF3m+r+y+D3SGa9Q0TWWWtFCwPpEhoMPAg8qFbnexFWNhd7mRO8AdlscCWB34freIO8pWc++H2P6Tot/WfaGfbQLkrtBSsHc59eF8ZBfxE=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1675371778; cv=none; b=mCGAD8HlixQkLh+jo7klrdf3kfrTDh5weDAzxq6FJgPEKaXirmI1vKNNDUvSMhPM5PlJHjOM/U2bxdE6ep7CjC6/0udllrLB5c4zZCcVPNTjMwkRXyJcrwr+oRFtmixHshVtoZ+2EtnXe7KRFu8cVsmtrU5yY71jV0ZaHFUhxfxoFJZYigZKJgoLkpmxVI4zhm9x4II7PHw3xAq852hQqX7ZrpzfFVrafeS53lPEzpzn7KXlnEvVsBjj8JMO8IZnQKoRGvW/9PRNCaeskhmIEt9wAzRc9tXR2sYMP4E6PXvfkj9rzw8WrsjLQamNnsebQhvbc7veDqQxedo+mkC0v07yaCaiwY/wulxVUmnACSsCJKtPXrByIjMNy3DavaseBUTzbbGs0wxh5jId4s9BKs37/Uxj+NURkfOQijHXBvCL7Lq4d+3/zhxTgnva3mQcD/fNwGPttHGa9jwg0+abwYvOnRS5nhldh6YjpIpXQ8e6L/ON8F0W97XcIN+Q/Idja+jRIP8pd9Vp9S3NyxaKp5jd/4er87eqk9hBqJWFGCfjmKV2kZ8rUKlGxW1IwtxOJtxe6Dx9BnIl0+Ls+keSBvVPvuGgdRqX9QLjDkGJ4eneiWMzrXM5xpHR0796W7liChzVSiROI0Td9mhXC89LxA3URWFgJybleBCRnfTZLWQ=
- Authentication-results: smail; arc=none
- Delivery-date: Thu, 02 Feb 2023 22:04:14 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1675371778; bh=GRBhIVxWgJnpeZ/FQL2blEwUJHv0zCh4U0zW0HoGNLU=; h=Date:From:To:Subject:References:In-Reply-To:From; b=HZ37Zvh7lG5/tvyuqRgnhdlEuUC0Dc5XgD+dE/aGO9kyzLiJmg7cPFb7TiOFu0DWq On65bqZjIANs4XV80i9GJcHCJIH+HTcerDfpb0m8OGqgs9xghDlZq7aG/s8B3uRi2v TSbXnpyvuw7fTmnxMaRDHz7yod7cDwng+lrlos+oRFq36shChCoT1qQewb8/4MNyKB PJydQdJkWzrTvpJRmSexhvbKxJTTwm402/pqLhXLsprJWP2UgnWObpEMvI8BUNlPIJ zMLr9gTK4482iE0EZATyLB4ALJfp7VUwmdmAh0vP+2Ksv+xuAJrSDrk5irkMbpKV0i pzERgj4W/6dZX7xVS8L3UK8YbeQ8vSSQ5OjW8Nqd7wXxneOhptSzZzqyIEGV3jBd1V e4RCXUpbCMjX+OwZAYQgPiEvpzp4U/b6WED1wxUbXDz2bDYGNzsU8B/NvZDSFcAYOY ZgMf32sPIDxZyvBVn4bha3EThYwoZ4XU8kyrDCPuKfiy6bELSA5ndSvVLKc8XxNOUy ZRM/LpKyWRPwMLJd1mBXeVdS+FGTiOO5L8pRRhBJlXioYcwj26apYfFSMvg1CHD00R QpOwm96ZUN2U1EwhDqIoi2ax3oo15wYOwAczGotcNidtzs27ePMfODAiURliDVxlC+ 9GuLu0ahAM8jjuSETdduMJPc=
- In-reply-to: <63DC0D80.7080306@morpheus.net>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <63D09B84.2050705@morpheus.net> <Y9EA5obqQxIx8PPI@seventeen> <CAJkPp5Ms9MGJsxmzUfYHqAmdwZ-tTAf7-e3bkHT3imNOnvvJCA@mail.gmail.com> <Y9vyJ6P0qEPhfIBs@seventeen> <63DC0D80.7080306@morpheus.net>
On Thu, Feb 02, 2023 at 01:22:40PM -0600, wraithx@morpheus.net wrote:
>
> Speaking of, thank you for the suggestions for finding all solutions with
> the extra option to matsolvemod. And thank you for the suggestion of
>
> A=matconcat([M,E;0,1]);U=qflll(A);A*U
>
> I was finally able to run this on my full dataset (of 1248 primes) and A*U
> was a matrix of size 1249x1249, and it took about 25 minutes, and 42GB, to
> calculate. There was only a single column that had a 1 in the last row
> (every other column had a 0 in the last row). In that last column, 1068
> entries were 0, 90 were greater than 0, and 91 were less than 0. The most
> negative number was -1365, the most positive was 1061. I was hoping to get
> all non-negative values for the exponents. Is there a way get all the
> entries to be >= 0? Thanks again for any advice!
It depends what you expect, for example how many primes are likely to
appear in the solution, what should be the exponents, etc.
Note that your question makes sense with negative exponents too.
First, you can always try small combinations of the vector to see if you get
something positive.
In the general case, this is an integer linear programming problem.
You need to use ILP software, I usually use
normaliz <https://www.normaliz.uni-osnabrueck.de/>
However your matrix is huge so this might take too long.
You might want to start by discarding most of the rows corresponding to the 0
entries, hoping the corresponding primes do not appear in the solution.
Cheers,
Bill.