About 1,426,373 results (2,079 milliseconds)

2nd try: Integer solutions for systems of linear equations

https://groups.google.com/g/sage-support/c/mSEvNtJlvgs
Sep 13, 2012 ... and again we could think that there is no solution since 2/6 is not an integer, but if we allow x[2] to be non-zero, we get the solution x[1] = ...

Presolve Message: all variables eliminated, but lower bound = 1 > 0

https://groups.google.com/g/ampl/c/vMXWiIb_ziw
May 20, 2014 ... 3} x[j] = 2; ampl: fix {j in 1..3} x[j] := 1; ampl: solve; presolve ... Thus when x[1], x[2], and x[3] are all fixed to 1, the constraint becomes ...

not too hard mixed integer linear program that both PPL and GLPK ...

https://groups.google.com/g/sage-support/c/hUFEvhBUOFw
May 21, 2025 ... x[0] - x[1] + x[2] - 2 * x[4] - x[5] - x[6], 2 * x[0] - x[3] - x[4] ... solution (2, 2, -1) I am looking for. On Wed, 21 May 2025 at 20 ...

Error: all variables eliminated, but upper bound = -1 < 0

https://groups.google.com/g/ampl/c/lFwA_0Zd0Rg
What does this mean and what I do to solve it? And the original question is: minimize: z=4x1+4x2+x3 constrains: x1+x2+x3<=2 2x1+x2<=3 2x1+x2+3x3>=3 bound ...

Looping to create variables and set coefficients

https://groups.google.com/g/or-tools-discuss/c/YAwktKbaMXM/m/te4pSoNWCAAJ
Mar 14, 2018 ... # S.t.. # 1(x1) + 1(x2) + 0(x3) =< 17. # 1(x1) + 0(x2) + 2(x3) =< 3 ... """Solve the problem and print the solution.""" result_status ...

not too hard mixed integer linear program that both PPL and GLPK ...

https://groups.google.com/d/msgid/sage-support/CAAWYfq2RLtrgsBy55UHA0V6r5iZhM3Z5agmhRe9pmNjJ-h5b%3DA%40mail.gmail.com
May 21, 2025 ... x[0] - x[1] + x[2] - 2 * x[4] - x[5] - x[6], 2 * x[0] - x[3] - x[4] ... solution (2, 2, -1) I am looking for. On Wed, 21 May 2025 at 20 ...

Doesn't work in Mathematica 8

https://groups.google.com/g/comp.soft-sys.math.mathematica/c/P8t_EHJ3e1c
Jul 31, 2011 ... 4 - (Abs[x] - 1)^2] - y)==0. where g[a_]:=Sqrt[Abs[a]/a]. Note that g ... 46rom the definition of g we find that this has real solutions for x

Problem with running parampl

https://groups.google.com/g/ampl/c/TcWxY9UFY-o
3} x[k] := 2; # define the initial point. let iter := i;. solve;. for {j in 1..3} { # store the solution. let ...

Python PICOS + CVXOPT solver objective increases without bound

https://groups.google.com/g/cvxopt/c/FIaSsbVGVmo
Mar 29, 2017 ... ... X[2,1] = X[0,1]. (Valid Probabilities (Q)) : X[5,1] + X[6,1] = X[0,1] ... sol = modp.solve(solver='cvxopt', verbose=1). File "/Library ...

solving trig equations

https://groups.google.com/g/tinspire/c/vnnubEQrUn4
May 2, 2011 ... when I tried to solve an equation with trig and power, like solve(cos(t^2)=1/2,t)|0<t<pi even though I put a constraint of t here, ...

Exact solution for "simple" trig equation

https://groups.google.com/g/tinspire/c/VUBI-WgdaoI
Oct 18, 2010 ... calculators be able to solve linear-looking trigonometric equations? Even cos(x) + cos(pi/2 - 2x) = 0 and 1 - 2[sin(x/2)]^ ...

Solve $y' + y \cot x = 2 \cos x$ on $(0,\pi)$, and prove that there's a ...

http://feedproxy.google.com/~r/RecentQuestions-MathematicsStackExchange/~3/WMJrOte9_bM/solve-y-y-cot-x-2-cos-x-on-0-pi-and-prove-that-theres-a-solution
Jun 10, 2021 ... This is y′sinx+ycosx=2cosxsinx or (ysinx)′=sin(2x) so ysin(x)=−12cos(2x)+c so y=−cos(2x)−c2sin(x)=−1−2sin2(x)−c2sin(x)=sin(x)+c1sin(x).

Printing an output solution file

https://groups.google.com/g/ampl/c/nVkK6c5sCS4
Sep 8, 2007 ... will be printed (in the same column) only if (X(i,j)=1). For example if n=3 and m=2 and the solution is X(1,1)=0, X(1,2)=1 ...

A 'Unbounded objective function (MOSEK)' problem happens while ...

https://groups.google.com/g/yalmip/c/bAPpWSXSf-o
constraint = [constraint, x(2,1)>=0]; constraint = [constraint, x(3,1)>=0 ... Interior-point solution summary. Problem status : PRIMAL_INFEASIBLE

all variables eliminated, but lower bound = 1 > 0

https://groups.google.com/g/ampl/c/I162SDt0u0I
The messages after "solve" are telling you that AMPL's presolve phase determined your problem to be infeasible -- that is, it found that there is no way to ...

Math question - Google Answers

http://answers.google.com/answers/threadview/id/542904.html
Jul 12, 2005 ... ... solution": f(2 cos(t/2)) = 2 cos(SQRT(2)*t/2) A bit of algebra shows that the two fixed points of g(x): g(x) = x are x = 2,-1. Furthermore ...

solve() questions

https://groups.google.com/g/sympy/c/pYh8v0KdBMQ
May 20, 2013 ... both {x:1, y:2} and (1, 2), so that sol[0] and sol[x] both give 1. For issue 3667, let's just do it. Make dict=True the default. Let's not ...

MIMO with MPC

https://groups.google.com/g/yalmip/c/oqhCg7t-0Oo
I was able to have 1, 2, or 3 inputs, converging the output to the solution, but seams failing on having multiple outputs with inputs. Trying simple, I have ...

Re: "Rank(A) < p or Rank([G; A]) < n" error from ArithmeticError ...

https://groups.google.com/g/cvxopt/c/qlu3CK1TdVQ
x2 >= 1. x3 + x4 >= 0. x1 + x2 >= 1. which can be expressed as G*x + s = h with. G = [ -1 0 0 0 ] h = [ -1 ] ... solution for a much simpler network with 4 nodes ...