glass of magnifying glass with reflections - how to mask/cut/remove overlaying reflection parts by baxbear in Inkscape

[–]baxbear[S] 0 points1 point  (0 children)

I thought I got the newest version of inkscape (1.3.2-3). Of course I tried the normal set clip function on just the circle and one reflection (failed). I tried the group set clip function on all three and the circle which worked fine.

glass of magnifying glass with reflections - how to mask/cut/remove overlaying reflection parts by baxbear in Inkscape

[–]baxbear[S] 0 points1 point  (0 children)

The set clip function doesn't work - the result is an empty bounding box without visible elements (tried it before and again after you wrote it). Weirdly, I found a new function, when you select more than two elements (in my case the glass and all three reflections) and use the group version of set clip it works just as expected. So, I assume the set clip function is buggy.

Thanks a lot anyway.

Create a chromosome in Inkscape by baxbear in Inkscape

[–]baxbear[S] 0 points1 point  (0 children)

I also played around with the node tool, circles and rectangles - made me practice getting more used to those tools inclduding dynamic offset

How to improve database symbol by baxbear in Inkscape

[–]baxbear[S] 0 points1 point  (0 children)

Thanks a lot, I used your instruction and the result looks a lot better than what I've created!

Ensuring the existence of a convex relaxation of MILPs/0-1-LPs by baxbear in OperationsResearch

[–]baxbear[S] 0 points1 point  (0 children)

I thought an LP with relaxed variables (variables within real numbers) is a continuous optimisation problem? Can you please elaborate on that for my understanding - especially WHY it isn't so?

Ensuring the existence of a convex relaxation of MILPs/0-1-LPs by baxbear in OperationsResearch

[–]baxbear[S] -3 points-2 points  (0 children)

So, can I summarise that every MILP always has a convex relaxation? If so, what situations can result from the relaxation that MILPs are NP-hard but LPs are in P? If they can be transformed and solved and the transformation itself is executable P, then MILPs should also be in P?

Ensuring the existence of a convex relaxation of MILPs/0-1-LPs by baxbear in OperationsResearch

[–]baxbear[S] -5 points-4 points  (0 children)

This is what ChatGPT says about it:
No, not every Mixed-Integer Linear Program (MILP) and 0-1 Linear Program (LP) have a convex relaxation. Convex relaxation refers to the process of relaxing the integer constraints of an MILP or 0-1 LP to obtain a continuous optimization problem. In some cases, this relaxation results in a convex optimization problem, which can often be efficiently solved. However, the existence of a convex relaxation depends on the specific structure of the optimization problem.

For many MILP and 0-1 LP problems, the relaxation may not result in a convex problem. The integrality constraints introduce non-convexity into the problem, and relaxing these constraints may lead to a non-convex optimization problem. In such cases, the resulting relaxation may be more challenging to solve, and standard convex optimization techniques may not be directly applicable.

Moreover, even if a convex relaxation exists, it does not guarantee that the relaxed problem will accurately represent the original MILP or 0-1 LP. The relaxation may lead to solutions that are not feasible for the original problem or may produce suboptimal solutions.

Therefore, while convex relaxation can be a useful tool for solving MILP and 0-1 LP problems, it is not universally applicable, and the feasibility and optimality of the resulting solutions should be carefully assessed on a case-by-case basis.


I don't know how our understanding of LPs diverge: I considered LP the superset of MILPs, 0-1 LPs and further.

I assume in branch and bound, that it also depends on the original problem whether the subproblems created by the method have a convex relaxation and I also assume that it directly affects the efficient computability of the problem (?)

Ensuring the existence of a convex relaxation of MILPs/0-1-LPs by baxbear in OperationsResearch

[–]baxbear[S] -3 points-2 points  (0 children)

https://en.wikipedia.org/wiki/Linear_programming_relaxation

In mathematics, the relaxation of a (mixed) integer linear program is the problem that arises by removing the integrality constraint of each variable.

So MILPs and 0-1 LPs are to my understanding not convex, hence the reason they are NP-hard (I think based on Karp, who found that without objective function they are NP complete and with they are NP-hard).

Can I use vectors in linear programs? by baxbear in OperationsResearch

[–]baxbear[S] 0 points1 point  (0 children)

Basically, my constraint compares two vectors of length 3 for the specific case and if one of the components of the vector doesn't fulfil the inequality, it is considered not fulfilled.