MaplePrimes - Questions and Posts tagged with integer
http://www.mapleprimes.com/tags/integer
en-us2016 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemSun, 31 Jul 2016 07:18:42 GMTSun, 31 Jul 2016 07:18:42 GMTThe most recent questions and posts on MaplePrimes tagged with integerhttp://www.mapleprimes.com/images/mapleprimeswhite.jpgMaplePrimes - Questions and Posts tagged with integer
http://www.mapleprimes.com/tags/integer
Maple Evaluating More Than 12 hrs
http://www.mapleprimes.com/questions/214956-Maple-Evaluating-More-Than-12-Hrs?ref=Feed:MaplePrimes:Tagged With integer
<p>Hello, I run Maple to solve Binary Integer Programming problem which contain about 1340 constraint and its goal to maximize the objective function.</p>
<p>At first, it's running for 2 hours and said that the iteration limit was reached. So I try to add 'iterationlimit' at LPSolve opts and set it to 10000, but after 3 or 4 hours it said that the iteration limit was reached. So I set 'iterationlimit' to 100000000 and now Maple keep evaluating more than 12 hours.</p>
<p>I run Maple at my notebook with these spesification:</p>
<p>Processor: Intel Corei3-5005U 2.0 GHz</p>
<p>Memory: 4GB RAM</p>
<p>Windows 10</p>
<p> </p>
<p>It is normal? Or I must run Maple in higher notebook spesification?</p>
<p>Thank you in advance.</p>
<p> </p>
<p>Below is my Maple file, hope you can help me.</p>
<p><a href="/view.aspx?sf=214956_question/ISL_2017_FASE3.mw">ISL_2017_FASE3.mw</a></p><p>Hello, I run Maple to solve Binary Integer Programming problem which contain about 1340 constraint and its goal to maximize the objective function.</p>
<p>At first, it's running for 2 hours and said that the iteration limit was reached. So I try to add 'iterationlimit' at LPSolve opts and set it to 10000, but after 3 or 4 hours it said that the iteration limit was reached. So I set 'iterationlimit' to 100000000 and now Maple keep evaluating more than 12 hours.</p>
<p>I run Maple at my notebook with these spesification:</p>
<p>Processor: Intel Corei3-5005U 2.0 GHz</p>
<p>Memory: 4GB RAM</p>
<p>Windows 10</p>
<p> </p>
<p>It is normal? Or I must run Maple in higher notebook spesification?</p>
<p>Thank you in advance.</p>
<p> </p>
<p>Below is my Maple file, hope you can help me.</p>
<p><a href="/view.aspx?sf=214956_question/ISL_2017_FASE3.mw">ISL_2017_FASE3.mw</a></p>214956Fri, 22 Jul 2016 18:43:19 ZfirmaulanafirmaulanaFormatting output of variables in Maple TA
http://www.mapleprimes.com/questions/213948-Formatting-Output-Of-Variables-In-Maple-TA?ref=Feed:MaplePrimes:Tagged With integer
<p>I apologize, as I'm still very new. I've flipped through a lot of pages, but I'm unsure of how Maple code translates to Maple TA.</p>
<p> </p>
<p>I have randomly assigned an integer for the value of a year in <strong>Maple TA.</strong> I'd like it to appear as "2013" for example, but it will instead appear as "2,013". Is there a way to set the output formatting of a variable individually within a problem in TA?</p>
<p>Thanks!</p><p>I apologize, as I'm still very new. I've flipped through a lot of pages, but I'm unsure of how Maple code translates to Maple TA.</p>
<p> </p>
<p>I have randomly assigned an integer for the value of a year in <strong>Maple TA.</strong> I'd like it to appear as "2013" for example, but it will instead appear as "2,013". Is there a way to set the output formatting of a variable individually within a problem in TA?</p>
<p>Thanks!</p>213948Tue, 28 Jun 2016 14:21:35 ZTDA_MillerTDA_MillerInteger solution of system
http://www.mapleprimes.com/questions/212705-Integer-Solution-Of-System?ref=Feed:MaplePrimes:Tagged With integer
<p><br>Dear all,</p>
<p>I wold like to find the solution of the next system of two equations with three unknowns but we assume that the unknows are positive integers. How the following code can work. Many thanks</p>
<p> </p>
<p> </p>
<p> </p>
<p>> restart;<br>> assume(J, integer, J >= 0);<br>> assume(A, integer, A >= 0);<br>> assume(T, integer, T >= 0);<br>> eq1 := J+10*A+50*T=500;<br> eq2 := J+A+T = 100;<br> solve( {eq1,eq2},{J,A,T});<br><br></p><p><br>Dear all,</p>
<p>I wold like to find the solution of the next system of two equations with three unknowns but we assume that the unknows are positive integers. How the following code can work. Many thanks</p>
<p> </p>
<p> </p>
<p> </p>
<p>> restart;<br>> assume(J, integer, J >= 0);<br>> assume(A, integer, A >= 0);<br>> assume(T, integer, T >= 0);<br>> eq1 := J+10*A+50*T=500;<br> eq2 := J+A+T = 100;<br> solve( {eq1,eq2},{J,A,T});<br><br></p>212705Tue, 24 May 2016 22:02:16 ZZeinebZeinebRandom integer from 0 to 100
http://www.mapleprimes.com/questions/212623-Random-Integer-From-0-To-100?ref=Feed:MaplePrimes:Tagged With integer
<p><span>if you want a random interger between 0 and 100</span></p>
<p><span>what will be the command?</span></p><p><span>if you want a random interger between 0 and 100</span></p>
<p><span>what will be the command?</span></p>212623Sat, 21 May 2016 21:30:17 Zadel-00adel-00How to find all integer points on parabola?
http://www.mapleprimes.com/questions/211521-How-To-Find-All-Integer-Points-On-Parabola?ref=Feed:MaplePrimes:Tagged With integer
<p>Hi Maple Primes</p>
<p>I have this parabola -</p>
<p>y2:=6z^2 +z+244;</p>
<p>x2:=9z^2+3z+367;</p>
<p>I use the eliminate command to write without z;</p>
<p>c:=eliminate([y=y2,x=x2],z);</p>
<p>Then I have the expression</p>
<p>e2 = 4x^2-12xy+9y^2-7x+9y+369.</p>
<p>My questions is, what integer values for x and y are on the curve e2?</p>
<p>I think the answer may be exactly when z is an integer.</p>
<p>How could I determine this given only e2?</p>
<p>Regards,<br>Matt</p><p>Hi Maple Primes</p>
<p>I have this parabola -</p>
<p>y2:=6z^2 +z+244;</p>
<p>x2:=9z^2+3z+367;</p>
<p>I use the eliminate command to write without z;</p>
<p>c:=eliminate([y=y2,x=x2],z);</p>
<p>Then I have the expression</p>
<p>e2 = 4x^2-12xy+9y^2-7x+9y+369.</p>
<p>My questions is, what integer values for x and y are on the curve e2?</p>
<p>I think the answer may be exactly when z is an integer.</p>
<p>How could I determine this given only e2?</p>
<p>Regards,<br>Matt</p>211521Thu, 21 Apr 2016 16:20:10 ZMatt C AndersonMatt C AndersonInteger from list of its digits?
http://www.mapleprimes.com/questions/210756-Integer-From-List-Of-Its-Digits?ref=Feed:MaplePrimes:Tagged With integer
<p>>nombor1:=[4,6,2];</p>
<p>nombor1:=[4,6,2]</p>
<p> </p>
<p>Hi, anyone know hot i need to continue my command to get 462 from [4,6,2]?</p>
<p>Thank you~=]]</p><p>>nombor1:=[4,6,2];</p>
<p>nombor1:=[4,6,2]</p>
<p> </p>
<p>Hi, anyone know hot i need to continue my command to get 462 from [4,6,2]?</p>
<p>Thank you~=]]</p>210756Mon, 28 Mar 2016 15:20:22 ZJessyOwJessyOw