#16714: Add a matrix of constraints in a LP
-------------------------------------+-------------------------------------
Reporter: ncohen | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.3
Component: linear | Resolution:
programming | Merged in:
Keywords: | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | 846cba629c68e46f274de8d6cbbaabd3cdbb0a99
u/vbraun/add_a_matrix_of_constraints_in_a_lp| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by dimpase):
Replying to [comment:8 vbraun]:
> I've started with tensors (over the base ring) of linear functions and
free modules. This implements:
> {{{
> ...
> sage: v * m # MIPVariable * matrix
> (3.0, 4.0)*x_1 + (1.0, 2.0)*x_0
> }}}
this is very nice; I hope this can be a basis for implementing an
interface to "conic programming". That is, whenever you have a convex cone
K in `R^n` (e.g. the positive ortant, or `{(x_0,...,x_{n-1}) | x_0^2 >=
sum_{j=1}^{n-1} x_j^2}`, known as "icecream cone") you have a partial
order `<_K` on `R^n` defined by `x<_K y` iff y-k is in K.
then one can do linear optimisation on the intersection of K with an
affine subspace. For K being the positive ortant this is just the usual
LP; for K the icecream cone this is a kind of norm minimisation, etc.
CVXOPT has implementations for several different cones like this (by the
way, semidefinite programming is yet another example, K being the cone of
psd matrices in `R^nxn`).
--
Ticket URL: <http://trac.sagemath.org/ticket/16714#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.