A Quadratically-Constrainted Quadratic Program consists of optimizing a quadratic objective function while imposing quadratic constraints, which can be inequalities or equalities. Obviously, describing the problem with inequalities alone can suffice, as $$a\le b$$ and $$a\ge b$$ is equivalent to just $$a=b$$. For this reason, a lot of literature just focuses on the inequalities.

However, I only have quadratic equality constraints, without any inequalities. In fact, it’s enough constraints, that I believe in my case the space of points satisfying the constraints is discrete (like $$2^{n/2}$$ separate points or something). So it becomes very little of an “optimization” problem, and much more of a “search space” problem. I would like to figure out a way to transform this system into a form amenable to discrete search, but I can’t find any directives on how to accomplish that. All the heuristics/approximations I could find for QCQP definitely seem to treat more of the “not very constrained” case, where you’re moving around continuously in the allowed region — that picture doesn’t apply here, though.

I realize that searching all $$2^{n/2}$$ points is intractable in general, of course. But I hope that whatever form it would come in would then be amenable to its own heuristic searches, like a binary quadratic program is.

How do I show the selected items in an easier manner in this dropdown

I have a dropdown with checkboxes as items. HERE is the working example

I let people select multiple options from this after they search for it One problem I notice is that it is not immediately obvious which items have been selected.

1. Should I add a button that says show selected, how does filtering work with that?
2. Should I add a checkbox saying show selected, what happens during filtering?
3. Should I add tags below this searchbox where each tag has a delete button and shows the selected item?
4. Here is another way to rephrase the question, what is the easiest way the user will see their selected options in this?

Some guidance is super appreciated

METHOD – An easier way to create targeted and better CPA / PPV popups for your campaigns or website

Method: Better Clickbank popups

NOTE
There is a full PDF describing this method below available from here – otherwise continue reading

Also, all instances of hxxp:// in the method below should be replaced with http://

We all know that when trying to sell a product it’s good to engage the user and there are number of ways to do this:
• Target the user by country
• Add in a count down
• Provide a clear “call to action”…

METHOD – An easier way to create targeted and better CPA / PPV popups for your campaigns or website

Why designing UI with VisualBasic, WinForms builder was so much easier than with Sketch?

I remember, back in the days when we were mostly making applications for Windows using VisualBasic or WinForms, making a good looking app using VisualBasic or Winforms/WPF builder was easy.

It almost didn’t matter how you dropped all of your buttons/controls on a page, it would always look good.

Just drop 3 buttons and it even looks fine!

Now, myself, being a developer have to use Sketch from time to time. But the trend is opposite: no matter how I arrange those rectangles and shuffle colors on the page – it always comes up as crap.

No matter how I mix colors and add shadows, it still looks like crap!

So why is it so? Why was WinForms so tolerant? And why does Sketch requires such a sharp graphical design skill?

Is there some fundamental principle or difference between those tools, so that one is tolerant, whilst another one so intolerant to lack of graphic design talent?

Is it easier to rank for Bing?

Today, I connected the DP rank checker tool to check my SERPs with Google, and noticed a checkbox for Bing, so I clicked it.

A little bit of history on the website I am checking:
-It is 2 months old, fresh domain
-4 social media accounts with a total of about 8k followers

I have been checking the SERPs for my main keyword on Google for a while, watching it fluctuate from position 92, to the 40s, then back up to…

Is it easier to rank for Bing?

Regal Keto Diet much easier. In like way, avocados

Regal Keto Diet much easier. In like way, avocados can customer customer interface with strengthen cholestrerol stages and triglyceride stages. One assessment displayed that when we eat up an healthier exercises filled with avocados, they experienced a 22% decreasing in "disturbing" LDL and triglycerides and a 11% adjustment of "shocking" HDL cholestrerol stages.

https://www.ozhealthguide.com/regal-keto-diet/

Easier way to copy file into another folder using shutil

So the following code exports a `csv` file in the parsed folder; I need it to do the same thing in the downloads folder. So, what i did is just copied the same code, and changed the destination folder name. I know there is a way i can do this with `shutil`, but im unsure how.

main.py

``if mylist is not None:     number = 0     filename = '/Users/poweruser/Applications/pythonwork/leadparser/parsed/newoutput%s.csv'      destination = "/Users/poweruser/downloads"     while os.path.exists(filename %  number):         number += 1         owlname = filename % number     with open('/Users/poweruser/Applications/pythonwork/leadparser/parsed/newoutput%s.csv' % number, 'w') as csvfile:         writer = csv.writer(             csvfile, delimiter=",")         writer.writerow(             ['Email', 'Website', 'Phone Number', 'Location'])         # var_dump(mylist)         for i in mylist:             writer.writerow(list(i))     # shutil.copy(owlname, destination) doesnt work as i want it too   if mylist is not None:     number = 0     filename = '/Users/poweruser/downloads/newoutput%s.csv'      while os.path.exists(filename %  number):         number += 1      with open('/Users/poweruser/downloads/newoutput%s.csv' % number, 'w') as csvfile:         writer = csv.writer(             csvfile, delimiter=",")         writer.writerow(             ['Email', 'Website', 'Phone Number', 'Location'])         # var_dump(mylist)         for i in mylist:             writer.writerow(list(i)) ``