Two comments:
1. GLPK is a linear solver. If x and y are variables, then (x^i)(y^j) is
a non-linear term in the unknowns x and y.
2. It is not clear from your description what is i and j.
-Marc
From: Help-glpk On Behalf Of Andrew Makhorin
Sent: Tuesday, November 1, 2022 6:04 AM
To: help-glpk@gnu.org
Subject: [Fwd: Using the summation operator with GLPK.]
CAUTION: This email originated outside the company. Do not click links or open
attachments unless you are expecting them from the sender.
Forwarded Message
Date: Mon, 31 Oct 2022 20:46:36 +
Subject: Using the summation operator with GLPK.
To: help-glpk@gnu.org<mailto:help-glpk@gnu.org>
mailto:%22help-g...@gnu.org%22%20%3chelp-g...@gnu.org%3e>>
From: philliprusso
mailto:philliprusso%20%3cphillipru...@proton.me%3e>>
So from reading the documentation I guess that GLPK can read a file in and that
there are a number of formats to be using. So I would like to start using GLPK
in the C++ language for Ubuntu 18.0.45 LTS that I am using for the windows
subsystem for linux and visual studio code.
The problem I am trying to solve is using the summation operator. In latex
format it goes like this:
(For a point list P(x,y)_{n}
\sum {k=0}^{n} \alpha_{k}*x^{i}*y^{j}
The summation with the value k and permuting n times over the formula alpha of
k multiplied by x to the i power multiplied by y to the j power.
This is the formula for a 2D problem for a finite element analysis coming from
the book Analysis of Structures and Material Behaviors for Kindle. The number
of terms is said to formulate to (n+1)(n+2)/2.
Does GLPK handle the summation operator somehow. Can I see some example of how
to implement such a problem with a GLPK file format (any format that works is
great) and or how to calculate this thing. The trouble I have is that with the
inclusion of i and j with the summation operator I couldn't find a calculator
available on the internet that can handle such a thing and also so far I have
been unable to get help from anyone that knows how to. Thank You! Any type of
help would be greatly appreciated.
Sent with Proton
Mail<https://urldefense.com/v3/__https:/proton.me/__;!!O7V3aRRsHkZJLA!ATYmVSiw0wwN_09LhaMqBAQP2iv46sZ0NmdG6wlueX5rCrJctfsIje5XeDlYVkiJaAqlSqQd4t2OGHKE$>
secure email.
This e-mail and any attachments may be confidential or legally privileged. If
you received this message in error or are not the intended recipient, you
should destroy the e-mail message and any attachments or copies, and you are
prohibited from retaining, distributing, disclosing or using any information
contained herein. Please inform us of the erroneous delivery by return e-mail.
Thank you for your cooperation. For more information on how we use your
personal data please see our Privacy
Notice<https://www.oliverwyman.com/policies/privacy-notice.html>.